VIOLA icon indicating copy to clipboard operation
VIOLA copied to clipboard

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

Open BaymaxShao opened this issue 2 years ago • 3 comments

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?

BaymaxShao avatar Oct 09 '23 07:10 BaymaxShao

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.

zhuyifengzju avatar Oct 29 '23 04:10 zhuyifengzju

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

ramkumarkoppu avatar Jan 09 '24 15:01 ramkumarkoppu

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

pip install robomimic==0.3.0

HeegerGao avatar May 19 '24 09:05 HeegerGao