Closed andiac closed 6 years ago
These issues have been fixed in the latest commit 95fc6bd24e865b350c82910efc2be2a0be26a2fd
Thanks!
I test the latest code. But I still got such issue.
This is the error message:
return callback(*args, kwargs)
File "/home/gaoli/CODE/deep-neuroevolution/es_distributed/main.py", line 84, in workers
algo.run_worker(master_redis_cfg, relay_redis_cfg, noise=noise)
File "/home/gaoli/CODE/deep-neuroevolution/es_distributed/ga.py", line 230, in run_worker
eval_rews, eval_length = policy.rollout(env) # eval rollouts don't obey task_data.timestep_limit
ValueError: too many values to unpack (expected 2)
(env) gaoli@WSGTX1080TI:~/CODE/deep-neuroevolution$ Traceback (most recent call last):
File "/home/gaoli/tools/Python3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/gaoli/tools/Python3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/gaoli/CODE/deep-neuroevolution/es_distributed/main.py", line 90, in
I test the latest code. But I still got such issue.
This is the error message: return callback(*args, kwargs) File "/home/gaoli/CODE/deep-neuroevolution/es_distributed/main.py", line 84, in workers algo.run_worker(master_redis_cfg, relay_redis_cfg, noise=noise) File "/home/gaoli/CODE/deep-neuroevolution/es_distributed/ga.py", line 230, in run_worker eval_rews, eval_length = policy.rollout(env) # eval rollouts don't obey task_data.timestep_limit ValueError: too many values to unpack (expected 2) (env) gaoli@WSGTX1080TI:~/CODE/deep-neuroevolution$ Traceback (most recent call last): File "/home/gaoli/tools/Python3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/home/gaoli/tools/Python3.6/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/gaoli/CODE/deep-neuroevolution/es_distributed/main.py", line 90, in cli() File "/home/gaoli/CODE/deep-neuroevolution/env/lib/python3.6/site-packages/click/core.py", line 722, in call return self.main(args, kwargs) File "/home/gaoli/CODE/deep-neuroevolution/env/lib/python3.6/site-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/home/gaoli/CODE/deep-neuroevolution/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/gaoli/CODE/deep-neuroevolution/env/lib/python3.6/site-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, ctx.params) File "/home/gaoli/CODE/deep-neuroevolution/env/lib/python3.6/site-packages/click/core.py", line 535, in invoke return callback(args, kwargs) File "/home/gaoli/CODE/deep-neuroevolution/es_distributed/main.py", line 84, in workers algo.run_worker(master_redis_cfg, relay_redis_cfg, noise=noise) File "/home/gaoli/CODE/deep-neuroevolution/es_distributed/ga.py", line 230, in run_worker eval_rews, eval_length = policy.rollout(env) # eval rollouts don't obey task_data.timestep_limit ValueError: too many values to unpack (expected 2)
it is the same for me on vanilla Ubuntu 18.04 LTS
Update (17/09/19): if I run it on a container (again on vanilla Ubuntu 18.04 LTS) it seems to work, I will add details asap
Thank you, this solves the problem for me. I appreciate your effort.
Emanuele
Da: dragon28 notifications@github.com Inviato: martedì 18 giugno 2019 04:04:19 A: uber-research/deep-neuroevolution Cc: Emanuele La Malfa; Comment Oggetto: Re: [uber-research/deep-neuroevolution] Unable to launch sample GA and RS experiment (#11)
Hello People,
I am getting the following error when I run . scripts/local_run_exp.sh ga configurations/frostbite_ga.json, which is the GA experiment
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/dragon/machine_learning/deep-neuroevolution/es_distributed/main.py", line 90, in
and I managed to fixed it by changing the following code:
from
deep-neuroevolution/es_distributed/ga.py, line 230:
eval_rews, eval_length = policy.rollout(env) # eval rollouts don't obey task_data.timestep_limit
to:
deep-neuroevolution/es_distributed/ga.py, line 230:
eval_rews, evallength, = policy.rollout(env) # eval rollouts don't obey task_data.timestep_limit
Thanks
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/uber-research/deep-neuroevolution/issues/11?email_source=notifications&email_token=AC2MWPTLEQ5TA7JFCSI7EYDP3A7CHA5CNFSM4FCG5ZI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX46IGY#issuecomment-502916123, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AC2MWPTPSN2TWSFYOEL7X2DP3A7CHANCNFSM4FCG5ZIQ.
@EmanueleLM Thank you. It works.
I have got the following error message when I tried to launch sample GA experiment:
and the following error message when trying to launch sample RS experiment:
Thanks