Closed muchvo closed 1 year ago
And this is a long time runed SAC using TianShou, it takes about 10 hours for the first 10 epoch.
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?
py-spy record -o profile.svg -- python xxx.py
and paste svg here
can you run py-spy to get a profile result?
py-spy record -o profile.svg -- python xxx.py
and paste svg here
Okey, I will try.
Observations shape: (111,) Actions shape: (8,) Action range: -1.0 1.0 Aborted (core dumped) Epoch #1: 1%| | 53/5000 [01:34<2:27:50, 1.79s/it, env_step=52, len=0, loss/actor=0.365, los^C
py-spy seems not working for me. It just throw Aborted (core dumped)
and the script I chose is going on.
is there a profile.svg
in the same folder?
I am not sure of the correctness of this graph, because it will throw core dumped
in a later stage, I have to terminate it early (no longer than 1 minute).
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!
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.
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.
It is strange, any help will be appreciated. Thanks!