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

选use_eval的时候运行报错NotImplementedError #12

Open
m1ntzz opened this issue Mar 13, 2023 · 1 comment
Open

选use_eval的时候运行报错NotImplementedError #12

m1ntzz opened this issue Mar 13, 2023 · 1 comment

Comments

@m1ntzz
Copy link

m1ntzz commented Mar 13, 2023

是不是连续动作空间的环境不能用eval

Traceback (most recent call last):
File "G:\lcz\mappo\train\train.py", line 149, in
main(sys.argv[1:])
File "G:\lcz\mappo\train\train.py", line 137, in main
runner.run()
File "G:\lcz\mappo\runner\shared\env_runner.py", line 88, in run
self.eval(total_num_steps)
File "C:\Users\ljh99\anaconda3\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "G:\lcz\mappo\runner\shared\env_runner.py", line 183, in eval
raise NotImplementedError
NotImplementedError

@xyb1125
Copy link

xyb1125 commented Mar 7, 2024

把env_runner.py中第276行的raise NotImplementedError注释掉,改成eval_action_env = eval_action就好了

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