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

ImportError: made by deform_conv_cuda #39

Open
Atom-Jinny opened this issue Apr 2, 2021 · 2 comments
Open

ImportError: made by deform_conv_cuda #39

Atom-Jinny opened this issue Apr 2, 2021 · 2 comments

Comments

@Atom-Jinny
Copy link

I followed the tutorial to set the D2Det enviorment by the dockerfile and wanted to train custom dataset.
the code and the steps are following:
folder :D2Det docker build -t mmdetection docker/
make the container form image mmdetection ,and upload the data
docker run --gpus all -it --name mm -v {DIR}/D2Det-master/data/:/mmdetection/data mmdetection
check the packages
version:pytorch 1.3.0 mmdet 2.10 python 3.6
image
and docker don't have mmcv packages
image
mmcv version link
image
the mmdetection/mmdet not exist D2Det/mmdet/ops
so try to copy D2D to docker
docker cp D2Det-master mm:/
python setup.py develop
and run tools/train.py
image
ImportError: cannot import name 'deform_conv_cuda'

the floder /mmdet/ops/dcn
image
and floder /mmdet/ops/dcn/src
image

what happen about it ?how can I solve it ?maybe the problem about compile
Hope your answers

@JialeCao001
Copy link
Owner

@Atom-Jinny I am not sure that it supports docker.

@pratikadarsh
Copy link

maybe related issue #34 .

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

3 participants