chengxuxin / extreme-parkour

Train your parkour robot in less than 20 hours.
https://extreme-parkour.github.io
Other
472 stars 85 forks source link

Collection Time of per iteration #22

Open ChengEeee opened 5 months ago

ChengEeee commented 5 months ago

image Why does the project's Collection Time of per iteration take several times more time than the LeggedGym's. Hope your reply!Thank you very much

ChengEeee commented 5 months ago

LeggedGym's Collection Time of per iteration less than 1s. and i have closed the draw goal points and the heightmap

1242713693 commented 4 months ago

Hello, is your display graphical interface in VScode? My computer doesn't have a GPU, can I run it directly on the CPU? If you run directly on the CPU, can you visualize, like in your video! thank you.

chengxuxin commented 4 months ago

image Why does the project's Collection Time of per iteration take several times more time than the LeggedGym's. Hope your reply!Thank you very much

Please provide more info on what commands and gpu you are using.

chengxuxin commented 4 months ago

Hello, is your display graphical interface in VScode? My computer doesn't have a GPU, can I run it directly on the CPU? If you run directly on the CPU, can you visualize, like in your video! thank you.

Yes you can train teacher and student without gui. To visualize on a headless machine please add --web arg to visualize in vscode.

1242713693 commented 4 months ago

Hello, is your display graphical interface in VScode? My computer doesn't have a GPU, can I run it directly on the CPU? If you run directly on the CPU, can you visualize, like in your video! thank you.

Yes you can train teacher and student without gui. To visualize on a headless machine please add --web arg to visualize in vscode.

I have installed Live Preview in VScode according to the prompt, and the code can run normally, but there is no interface. I do not know whether it is my wrong operation or other problems. I sincerely hope to get your help, thank you 2024-02-28 15-49-16屏幕截图

chengxuxin commented 4 months ago

The train.py won't give you rendering. You have to run python play.py --exptid the_model_you_trained --web to get a render of your policy. Please see the readme carefully.

1242713693 commented 4 months ago

The train.py won't give you rendering. You have to run python play.py --exptid the_model_you_trained --web to get a render of your policy. Please see the readme carefully.

Thank you very much for your help. Do you mean that I can only watch in vscode through the command --web after the training is completed? If the model is being trained, can it also be viewed via --web? There is another thing that needs to trouble you, if I configure the GPU for the computer, basically, which model of the ordinary Nvidia graphics card can make the code run smoothly? thank you.

chengxuxin commented 4 months ago

you can run play while you are running train, no problem. I recommend at least 16 gb gpu memory, best would be 3090 4090.