You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "evaluate.py", line 236, in<module>
headless=args.headless,
File "evaluate.py", line 114, in main
trainer.restore(checkpoint)
File "/home/ryota/src/github.com/huawei-noah/SMARTS/benchmark/.venv/lib/python3.7/site-packages/ray/tune/trainable.py", line 476, in restore
self.load_checkpoint(checkpoint_path)
File "/home/ryota/src/github.com/huawei-noah/SMARTS/benchmark/.venv/lib/python3.7/site-packages/ray/rllib/agents/trainer.py", line 673, in load_checkpoint
self.__setstate__(extra_data)
File "/home/ryota/src/github.com/huawei-noah/SMARTS/benchmark/.venv/lib/python3.7/site-packages/ray/rllib/agents/trainer_template.py", line 164, in __setstate__
Trainer.__setstate__(self, state)
File "/home/ryota/src/github.com/huawei-noah/SMARTS/benchmark/.venv/lib/python3.7/site-packages/ray/rllib/agents/trainer.py", line 1168, in __setstate__
self.workers.local_worker().restore(state["worker"])
File "/home/ryota/src/github.com/huawei-noah/SMARTS/benchmark/.venv/lib/python3.7/site-packages/ray/rllib/evaluation/rollout_worker.py", line 969, in restore
self.policy_map[pid].set_state(state)
File "/home/ryota/src/github.com/huawei-noah/SMARTS/benchmark/agents/maddpg/tf_policy.py", line 353, in set_state
TFPolicy.set_state(self, state)
File "/home/ryota/src/github.com/huawei-noah/SMARTS/benchmark/.venv/lib/python3.7/site-packages/ray/rllib/policy/tf_policy.py", line 443, in set_state
optimizer_vars = state.pop("_optimizer_variables", None)
TypeError: pop() takes at most 1 argument (2 given)
Reproduction
python evaluate.py scenarios/intersections/4lane -f agents/maddpg/baseline-lane-control.yaml --checkpoint ./log/results/run/4lane-4/MADDPG2_EarlyDone_c3c16_00000_0_2020-11-13_17-32-28/checkpoint_1200/checkpoint-1200
Error message
Environment
Python 3.7.9
OS: Ubuntu 18.04.5 LTS
CPU: Ryzen 5 3600X
GPU: GeForce RTX 2070
CUDA: 10.0
pip list
The text was updated successfully, but these errors were encountered: