Traceback (most recent call last):
File "test/offline/test_gail.py", line 232, in
test_gail()
File "test/offline/test_gail.py", line 202, in test_gail
result = onpolicy_trainer(
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/trainer/onpolicy.py", line 150, in onpolicy_trainer
return OnpolicyTrainer(*args, **kwargs).run()
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/trainer/base.py", line 440, in run
deque(self, maxlen=0) # feed the entire iterator into a zero-length deque
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/trainer/base.py", line 252, in iter
self.reset()
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/trainer/base.py", line 237, in reset
test_result = test_episode(
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/trainer/utils.py", line 27, in test_episode
result = collector.collect(n_episode=n_episode)
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/data/collector.py", line 304, in collect
result = self.env.step(action_remap, ready_env_ids) # type: ignore
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/env/venvs.py", line 272, in step
obs, rew, done, info = self.workers[j].recv() # type: ignore
ValueError: too many values to unpack (expected 4)
[X] I have mentioned version numbers, operating system and environment, where applicable:
Run Command:
Traceback (most recent call last): File "test/offline/test_gail.py", line 232, in
test_gail()
File "test/offline/test_gail.py", line 202, in test_gail
result = onpolicy_trainer(
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/trainer/onpolicy.py", line 150, in onpolicy_trainer
return OnpolicyTrainer(*args, **kwargs).run()
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/trainer/base.py", line 440, in run
deque(self, maxlen=0) # feed the entire iterator into a zero-length deque
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/trainer/base.py", line 252, in iter
self.reset()
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/trainer/base.py", line 237, in reset
test_result = test_episode(
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/trainer/utils.py", line 27, in test_episode
result = collector.collect(n_episode=n_episode)
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/data/collector.py", line 304, in collect
result = self.env.step(action_remap, ready_env_ids) # type: ignore
File "/Users/elbert.li/projects/scripts/coach/tianshou/tianshou/env/venvs.py", line 272, in step
obs, rew, done, info = self.workers[j].recv() # type: ignore
ValueError: too many values to unpack (expected 4)
Any idea how to fix this issue?