-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[question] Abnormal running speed of off-policy algorithms on Mujoco environments. #866
Comments
It shouldn't be so slow, will take a look soon, thanks for reporting this issue! |
can you run py-spy to get a profile result?
and paste svg here |
Okey, I will try. |
Observations shape: (111,) py-spy seems not working for me. It just throw |
is there a |
how many envs do you use? what's your command line? |
I am using bash, the command is just python tianshou/examples/mujoco/mujoco_td3.py so, all configurations are default. |
I'll try to look into it soon, thanks for reporting! |
Thanks a lot for your reply! After I changed the machine, this problem has been solved now. I think this is a local problem. I sincerely appreciate your effort in this community. |
About my environment:
System: Ubuntu20.04
CPU:AMD EPYC 7H12 64-Core Processor
GPU: [GeForce RTX 3090]*8
When I run the off-policy example in https://github.com/thu-ml/tianshou/blob/master/examples/mujoco/ like td3 the speed is unacceptable for 200 epoch cause I am trying to integrate TianShou's API into OmniSafe.
Observations shape: (111,) Actions shape: (8,) Action range: -1.0 1.0 Epoch #1: 0%| | 5/5000 [00:07<1:57:17, 1.41s/it, env_step=4, len=0, loss/actor=0.142, l oss/crit
It is strange, any help will be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: