Open shijianjian opened 4 years ago
Sorry for reply late. Thanks for using our code. We build D3D on windows 10 so we have not met the same problems as you. Here we briefly introduce the process of building D3D and we hope this will help you.
When we run cmd make.bat
, we get the following response:
Installed \home\appdata\local\continuum\anaconda3\lib\site-packages\d3d-1.0-py3.7-win-amd64.egg
Processing dependencies for D3D==1.0
Finished processing dependencies for D3D==1.0
We show the files in the folder d3d-1.0-py3.7-win-amd64.egg
as follows:
__pycache__
└── DCN.cpython-37.pyc
EGG-INFO
├── dependency_links.txt
├── native_libs.txt
├── not-zip-safe
├── PKG-INFO
├── SOURCES.txt
└── top_level.txt
functions
└── __pycache__
├── __init__.cpython-37.pyc
├── deform_conv_func.cpython-37.pyc
└── deform_conv_func_seperate.cpython-37.pyc
├── __init__.py
├── deform_conv_func.py
└── deform_conv_func_seperate.py
modules
└── __pycache__
├── __init__.cpython-37.pyc
├── deform_conv_func.cpython-37.pyc
└── deform_conv_func_seperate.cpython-37.pyc
├── __init__.py
├── deform_conv_func.py
└── deform_conv_func_seperate.py
DCN.cp37-win_amd64.pyd
DCN.py
Our code is based on ''Deformable Convolution V2'' (https://github.com/chengdazhi/Deformable-Convolution-V2-PyTorch). You may find some advices there.
@shijianjian Hi, I can build DCN and test
D3DNet with Pytorch 1.0.0, you may try to use a lower version of Pytorch.
Hello, can I ask your gcc version for win10? I install Mingw, but still it request me to install GCC 4.9 or above when run make.bat. thanks!
@pearlie317 To compile D3D, "nvcc" and "cpp_extension" of pytorch 1.0.0 are needed. We do not find "gcc" in our PC. Our code is based on ''Deformable Convolution V2'' (https://github.com/chengdazhi/Deformable-Convolution-V2-PyTorch). You may find some advices there.
Hi, Thanks for the repo.
I can build the DCN with torch==1.5.1, but I got an error when I run
python test.py
I thought it might be an environment error. While when I tried to use your provided envs (torch1.2), I got a build error.
I am a bit confused about what should I do to resolve this. Thanks for your help.
My envs: