Comments (3)
python build.py
Including CUDA code.
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master
generating C:\Users\fly\AppData\Local\Temp\tmpvm740wzd_deform_conv.c
setting the current directory to 'C:\Users\fly\AppData\Local\Temp\tmpvm740wzd'
running build_ext
building '_deform_conv' extension
creating Release
creating Release\gooleDown
creating Release\gooleDown\Deformable-Convolution-V2-PyTorch-master
creating Release\gooleDown\Deformable-Convolution-V2-PyTorch-master\src
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWITH_CUDA -ID:\code\annaconda\envs\python35_2\lib\site-packages\torch\utils\ffi....\lib\include -ID:\code\annaconda\envs\python35_2\lib\site-packages\torch\utils\ffi....\lib\include\TH -ID:\code\annaconda\envs\python35_2\lib\site-packages\torch\utils\ffi....\lib\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2/include" "-IC:\Program Files\NVIDIA Corporation\NvToolsExt/include" -ID:\code\annaconda\envs\python35_2\include -ID:\code\annaconda\envs\python35_2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tc_deform_conv.c /Fo.\Release_deform_conv.obj -std=c99 -std=c++11
cl: 命令行 warning D9002 :忽略未知选项“-std=c99”
cl: 命令行 warning D9002 :忽略未知选项“-std=c++11”
_deform_conv.c
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWITH_CUDA -ID:\code\annaconda\envs\python35_2\lib\site-packages\torch\utils\ffi....\lib\include -ID:\code\annaconda\envs\python35_2\lib\site-packages\torch\utils\ffi....\lib\include\TH -ID:\code\annaconda\envs\python35_2\lib\site-packages\torch\utils\ffi....\lib\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2/include" "-IC:\Program Files\NVIDIA Corporation\NvToolsExt/include" -ID:\code\annaconda\envs\python35_2\include -ID:\code\annaconda\envs\python35_2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /TcF:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv.c /Fo.\Release\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv.obj -std=c99 -std=c++11
cl: 命令行 warning D9002 :忽略未知选项“-std=c99”
cl: 命令行 warning D9002 :忽略未知选项“-std=c++11”
deform_conv.c
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWITH_CUDA -ID:\code\annaconda\envs\python35_2\lib\site-packages\torch\utils\ffi....\lib\include -ID:\code\annaconda\envs\python35_2\lib\site-packages\torch\utils\ffi....\lib\include\TH -ID:\code\annaconda\envs\python35_2\lib\site-packages\torch\utils\ffi....\lib\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2/include" "-IC:\Program Files\NVIDIA Corporation\NvToolsExt/include" -ID:\code\annaconda\envs\python35_2\include -ID:\code\annaconda\envs\python35_2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /TcF:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c /Fo.\Release\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.obj -std=c99 -std=c++11
cl: 命令行 warning D9002 :忽略未知选项“-std=c99”
cl: 命令行 warning D9002 :忽略未知选项“-std=c++11”
deform_conv_cuda.c
f:\gooledown\deformable-convolution-v2-pytorch-master\src\deform_conv_cuda_kernel.h(1): error C2143: 语法错误: 缺少“{”(在“<”的前面)
f:\gooledown\deformable-convolution-v2-pytorch-master\src\deform_conv_cuda_kernel.h(1): error C2059: 语法错误:“<”
f:\gooledown\deformable-convolution-v2-pytorch-master\src\deform_conv_cuda_kernel.h(10): error C2143: 语法错误: 缺少“{”(在“<”的前面)
f:\gooledown\deformable-convolution-v2-pytorch-master\src\deform_conv_cuda_kernel.h(10): error C2059: 语法错误:“<”
f:\gooledown\deformable-convolution-v2-pytorch-master\src\deform_conv_cuda_kernel.h(19): error C2143: 语法错误: 缺少“{”(在“<”的前面)
f:\gooledown\deformable-convolution-v2-pytorch-master\src\deform_conv_cuda_kernel.h(19): error C2059: 语法错误:“<”
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(65): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(66): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(67): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(68): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(206): warning C4013: “deformable_im2col”未定义;假设外部返回 int
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(150): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(151): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(152): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(153): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(155): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(213): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(340): warning C4013: “deformable_col2im_coord”未定义;假设外部返回 int
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(347): warning C4013: “deformable_col2im”未定义;假设外部返回 int
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(282): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(283): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(284): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(285): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(287): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(331): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(417): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(418): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(419): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(420): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(422): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
F:\gooleDown\Deformable-Convolution-V2-PyTorch-master\src\deform_conv_cuda.c(465): warning C4244: “初始化”: 从“int64_t”转换到“long”,可能丢失数据
Traceback (most recent call last):
File "D:\code\annaconda\envs\python35_2\lib\distutils_msvccompiler.py", line 382, in compile
self.spawn(args)
File "D:\code\annaconda\envs\python35_2\lib\distutils_msvccompiler.py", line 501, in spawn
return super().spawn(cmd)
File "D:\code\annaconda\envs\python35_2\lib\distutils\ccompiler.py", line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File "D:\code\annaconda\envs\python35_2\lib\distutils\spawn.py", line 38, in spawn
_spawn_nt(cmd, search_path, dry_run=dry_run)
File "D:\code\annaconda\envs\python35_2\lib\distutils\spawn.py", line 81, in _spawn_nt
"command %r failed with exit status %d" % (cmd, rc))
distutils.errors.DistutilsExecError: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\code\annaconda\envs\python35_2\lib\site-packages\cffi\ffiplatform.py", line 51, in _build
dist.run_command('build_ext')
File "D:\code\annaconda\envs\python35_2\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "D:\code\annaconda\envs\python35_2\lib\site-packages\setuptools\command\build_ext.py", line 75, in run
_build_ext.run(self)
File "D:\code\annaconda\envs\python35_2\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "D:\code\annaconda\envs\python35_2\lib\distutils\command\build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "D:\code\annaconda\envs\python35_2\lib\distutils\command\build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "D:\code\annaconda\envs\python35_2\lib\site-packages\setuptools\command\build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "D:\code\annaconda\envs\python35_2\lib\distutils\command\build_ext.py", line 533, in build_extension
depends=ext.depends)
File "D:\code\annaconda\envs\python35_2\lib\distutils_msvccompiler.py", line 384, in compile
raise CompileError(msg)
distutils.errors.CompileError: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "build.py", line 36, in
ffi.build()
File "D:\code\annaconda\envs\python35_2\lib\site-packages\torch\utils\ffi_init_.py", line 189, in build
build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File "D:\code\annaconda\envs\python35_2\lib\site-packages\torch\utils\ffi_init.py", line 111, in _build_extension
outfile = ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File "D:\code\annaconda\envs\python35_2\lib\site-packages\cffi\api.py", line 723, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "D:\code\annaconda\envs\python35_2\lib\site-packages\cffi\recompiler.py", line 1526, in recompile
compiler_verbose, debug)
File "D:\code\annaconda\envs\python35_2\lib\site-packages\cffi\ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "D:\code\annaconda\envs\python35_2\lib\site-packages\cffi\ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.VerificationError: CompileError: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2
from deformable-convolution-v2-pytorch.
Hi, thank you for trying deformable conv. We never tried to support Windows, nor do we have any Windows environment to test our code. Please switch to Linux, it makes lives easier:)
from deformable-convolution-v2-pytorch.
@zhuwanling i am also trying build dcn on windows?have you solved it?
thank you
from deformable-convolution-v2-pytorch.
Related Issues (20)
- [pytorch 1.0.0 branch] : no result in output tensor
- 怎么得到 Deformable-Convolution的FLOPs呢? HOT 2
- Is this version compatible with pytorch1.8 HOT 6
- using g++ not c++ to compile
- Questions about deformable roi pooling
- TypeError: dist must be a Distribution instance HOT 3
- Please help me! Questions about gcc or g++ in setup.py
- Any chances to release Deformable-Convolution-V2-PyTorch for Rocm
- The exact mapping between the channel index of the mask and the coordinate of the modulated kernel
- Question about DCNv1 v2 on resnet HOT 1
- problem of make.sh
- QUestion: Running without Cuda HOT 1
- Is it useful to use dcn on 1x1conv? HOT 3
- When running make.sh, it prompts that NVCC cannot be found HOT 1
- when running make.sh ,it takes this problom. HOT 1
- When I run test.py, cuDNN error: CUDNN_STATUS_EXECUTION_FAILED HOT 1
- When running test.py, RuntimeError: Backward is not reentrant
- How to install DCN on google colab
- How to change kernel size od DCN
- Hello, do you have the frame diagram of DCNV2?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deformable-convolution-v2-pytorch.