ZiwenZhuang / parkour

[CoRL 2023] Robot Parkour Learning
https://robot-parkour.github.io
MIT License
506 stars 92 forks source link

Problem while training a walk policy #46

Open krank10 opened 1 month ago

krank10 commented 1 month ago

Hi, When I set selected = "TerrainPerlin" to train a walk policy, an error occurred: File "/home/robot/parkour-main/legged_gym/legged_gym/utils/terrain/perlin.py", line 20, in __init__ assert(self.xSize == cfg.horizontal_scale * self.tot_rows and self.ySize == cfg.horizontal_scale * self.tot_cols) AssertionError. and when I tried to solve it by adding: self.xSize = cfg.horizontal_scale * self.tot_rows self.ySize = cfg.horizontal_scale * self.tot_cols before the 'assert' line in perlin.py, the error disappear, but the traing process stuck at the beginning. Would you please solve this problem?

Thanks.

ZiwenZhuang commented 1 month ago

Could you locate where the program stuck (probably by pressing Ctrl+C)? If you have another computationally heavy job running on your server, it could also stuck the initialization of isaacgym.