D4RL icon indicating copy to clipboard operation
D4RL copied to clipboard

Issues with generating ant maze dataset

Open dh2shin opened this issue 1 year ago • 4 comments

Hi, I'm trying to generate the ant maze dataset using the generation script but getting a "No module named 'locomotion.ant'" error when loading the policy load_policy('ant_hierarch_pol.pkl'). I installed the locomotion module as well as the rlkit fork, so any idea on how to fix this error?

dh2shin avatar Aug 02 '22 05:08 dh2shin

I am struggling with the same issue.

louieworth avatar Sep 21 '22 02:09 louieworth

I have the same issue now.

CUN-bjy avatar Dec 14 '22 18:12 CUN-bjy

I find that the locomotion here is not the locomotion module installed by pip but the locomotion dir of d4rl. Make a copy of d4rl/locomotion to the root dir and change the import in it (change import d4rl.locomotion.* to import locomotion.*). Remember to remove the environment register in the locomotion/init.py to fix the re-register question.

gaisibo avatar Apr 24 '23 02:04 gaisibo

@gaisibo Thanks! It works.

tlatjddnd101 avatar Jun 09 '23 10:06 tlatjddnd101