liuzuxin / OSRL

🤖 Elegant implementations of offline safe RL algorithms in PyTorch
https://offline-saferl.org
Apache License 2.0
178 stars 12 forks source link

Can not train MetaDrive datasets #26

Closed Chenrf1121 closed 6 days ago

Chenrf1121 commented 6 days ago

I would like to train algorithms on metadrive env (OfflineMetadrive-harddense-v0), the traceback is: raise error.NameNotFound( gymnasium.error.NameNotFound: Environment ''OfflineMetadrive-harddense'' doesn't exist. How to address it? Thanks.

image
liuzuxin commented 6 days ago

Did you follow the instruction here to install the metadrive environment?

Chenrf1121 commented 6 days ago

Thanks, I changed the code, so received the error.