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
and docker don't have mmcv packages
mmcv version link
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
ImportError: cannot import name 'deform_conv_cuda'
the floder /mmdet/ops/dcn
and floder /mmdet/ops/dcn/src
what happen about it ?how can I solve it ?maybe the problem about compile
Hope your answers
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
and docker don't have mmcv packages
mmcv version link
the mmdetection/mmdet not exist D2Det/mmdet/ops
so try to copy D2D to docker
ImportError: cannot import name 'deform_conv_cuda'
docker build -t mmdetection docker/
make the container form image mmdetection ,and upload the datadocker 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.6docker cp D2Det-master mm:/
python setup.py develop and run tools/train.pythe floder /mmdet/ops/dcn
and floder /mmdet/ops/dcn/src
![image](https://user-images.githubusercontent.com/43606311/113376600-ab223f00-93a4-11eb-801f-ea7d7f37cf6a.png)
what happen about it ?how can I solve it ?maybe the problem about compile Hope your answers