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

Cannot import name 'CropRandomizer' from 'robomimic.models.base_nets' #4

Open
BaymaxShao opened this issue Oct 9, 2023 · 3 comments

Comments

@BaymaxShao
Copy link

I try training the model with your generated datasets, and get this error:
Cannot import name 'CropRandomizer' from 'robomimic.models.base_nets'

With suspecting incorrect installation of robomimic, I go to https://github.com/ARISE-Initiative/robomimic/blob/master/robomimic/models/base_nets.py to check. However, I can't find CropRandomizer and Randomizer either.

Could you help me figure out why and how?

@zhuyifengzju
Copy link
Contributor

Hi, it could be that they've updated their codebase. Please modify the code accordingly to accommodate their new changes, or you will need to install an older version of robomimic to use these classes.

@ramkumarkoppu
Copy link

having pip installation from requirements.txt file. what is the python version proven to be working for this repo?

@HeegerGao
Copy link

Encounter the same issue in another project. Upgrading the robomimic version to 0.3.0 solves this problem.

pip install robomimic==0.3.0

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

4 participants