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

Problem while training a walk policy #46

Open
krank10 opened this issue Jul 11, 2024 · 1 comment
Open

Problem while training a walk policy #46

krank10 opened this issue Jul 11, 2024 · 1 comment

Comments

@krank10
Copy link

krank10 commented Jul 11, 2024

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
Copy link
Owner

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.

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