Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Homework assigned by my teacher asked me to build mmcls environment on anaconda and try to run the demo, What I installed was mmcv2.1.0 , pytorch with non-cuda, I used mim to download such file with the help online.
mim download mmcls --config resnet50_8xb32_in1k --dest .
Then started with the code below on my anacunda evn.
python demo/image_demo.py demo/demo.JPEG resnet50_8xb32_in1k.py resnet50_8xb32_in1k_20210831-ea4938fc.pth --device cpu
It said :
AssertionError: MMCV==2.1.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.1.0.
Then I reinstalled mmcv 2.0.0rc4 and tried again but it cannot be fixed and said
image_demo.py: error: unrecognized arguments: resnet50_8xb32_in1k_20210831-ea4938fc.pth
Beta Was this translation helpful? Give feedback.
All reactions