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

environment error #7

Open
Joker-Y1 opened this issue Apr 13, 2023 · 5 comments
Open

environment error #7

Joker-Y1 opened this issue Apr 13, 2023 · 5 comments

Comments

@Joker-Y1
Copy link

Hello, thanks for the great work!
But when I create an environment following https://github.com/open-mmlab/mmdetection/blob/v2.18.0/docs/get_started.md for training, the import error has came.
1
OS: Linux
CUDA: 11.7
pytorch: 1.13

@zhenyuw16
Copy link
Owner

Perhaps this is because the error of mmcv. You should follow the instructions of mmdetection to install the correct version of mmcv. The version of mmcv should also match your pytorch version.

@Kegard
Copy link

Kegard commented May 10, 2023

I hava meet the same problem too, and I have tride changed the version but failed, because it will raise other error, can you tell me the version of mmcv, mmcv-full, and mmdet?

@Kegard
Copy link

Kegard commented May 13, 2023

I have solved the problem. the environment as follow:
mmcv-full 1.3.14
mmdet 2.18.0
numpy 1.23.5
Don't install the mmcv >=2.0.0 and the numpy <1.24.0 is better.

@LXXIANG12
Copy link

I have solved the problem. the environment as follow: mmcv-full 1.3.14 mmdet 2.18.0 numpy 1.23.5 Don't install the mmcv >=2.0.0 and the numpy <1.24.0 is better.
May I ask if you encountered 'FasterRCNN: 'CLIPResNet is not in the models registry' while running 'bash tools/dist_train.sh configs/singledataset/clip_end2end_faster_rcnn_r50_c4_1x_coco.py 8 --cfg-options load_from=regionclip_pretrained-cc_rn50_mmdet.pth' in this environment?"

@Kegard
Copy link

Kegard commented Oct 24, 2023

you can pip unistall mmdet and try python setup.py develop

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