Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: need more than 4 values to unpack #14

Open
nanxintin opened this issue Nov 30, 2016 · 2 comments
Open

ValueError: need more than 4 values to unpack #14

nanxintin opened this issue Nov 30, 2016 · 2 comments

Comments

@nanxintin
Copy link

When I try to run the a3c.py, I came across some problem.
“”“
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "a3c.py", line 71, in actor_learner_thread
s, a, R, minimize, p_network, v_network = graph_ops
ValueError: need more than 4 values to unpack
“‘’”
Follow by the solution in the Stackoverflow, I add a comma in the code. but it failed.
I would appreciate it if anyone can help me.

@fgvbrt
Copy link

fgvbrt commented Dec 4, 2016

It looks like a3c is currently in progress and it shouldn't be working. As you can see build_graph https://github.com/coreylynch/async-rl/blob/master/a3c.py#L170 returns 4 values but then you trying to unpack it with 6 values https://github.com/coreylynch/async-rl/blob/master/a3c.py#L70

@nanxintin
Copy link
Author

@fgvbrt Thank you for your reply and you are right. It seems that the author is too busy to update the A3C project in the short term.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants