CenterTrack
CenterTrack copied to clipboard
DCN compliation problems
Hello
This version of DCN wouldn't compile for me (errors right away): https://github.com/CharlesShang/DCNv2
(CenterTrack2) cat@cat-GF63-Thin-9SCX:~/code/CenterTrack2/src/lib/model/networks/DCNv2$ ls
dcn_v2.py __init__.py LICENSE make.sh README.md setup.py src testcpu.py testcuda.py
(CenterTrack2) cat@cat-GF63-Thin-9SCX:~/code/CenterTrack2/src/lib/model/networks/DCNv2$ ./make.sh
running build
running build_ext
building '_ext' extension
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src/lib
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src/lib/model
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src/lib/model/networks
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src/cpu
creating /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src/cuda
Emitting ninja build file /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/7] c++ -MMD -MF /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src -I/home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/torch/include -I/home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/torch/include/TH -I/home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/cat/anaconda3/envs/CenterTrack2/include/python3.6m -c -c /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp -o /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.o
c++ -MMD -MF /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src -I/home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/torch/include -I/home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/torch/include/TH -I/home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/cat/anaconda3/envs/CenterTrack2/include/python3.6m -c -c /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp -o /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/build/temp.linux-x86_64-3.6/home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/torch/include/TH/TH.h:13,
from /home/cat/code/CenterTrack2/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:7:
But this did compile: https://github.com/MatthewHowe/DCNv2.git, and I can run "import DCN".
However, the demo won't import DCN correctly, my guess is the 2 versions of DCN use different syntax.
(CenterTrack2) cat@cat-GF63-Thin-9SCX:~/code/CenterTrack2/src$ python demo.py tracking,ddd --load_model ../models/nuScenes_3Dtracking.pth --dataset nuscenes --pre_hm --track_thresh 0.1 --demo ../videos/nuscenes_mini.mp4 --test_focal_length 633
import DCN failed
Import DCN failed
import DCN failed
import DCN failed
/home/cat/anaconda3/envs/CenterTrack2/lib/python3.6/site-packages/sklearn/utils/linear_assignment_.py:22: FutureWarning: The linear_assignment_ module is deprecated in 0.21 and will be removed from 0.23. Use scipy.optimize.linear_sum_assignment instead.
FutureWarning)
Running tracking
Using tracking threshold for out threshold! 0.1
Fix size testing.
training chunk_sizes: [32]
input h w: 448 800
heads {'hm': 10, 'reg': 2, 'wh': 2, 'tracking': 2, 'dep': 1, 'rot': 8, 'dim': 3, 'amodel_offset': 2}
weights {'hm': 1, 'reg': 1, 'wh': 0.1, 'tracking': 1, 'dep': 1, 'rot': 1, 'dim': 1, 'amodel_offset': 1}
head conv {'hm': [256], 'reg': [256], 'wh': [256], 'tracking': [256], 'dep': [256], 'rot': [256], 'dim': [256], 'amodel_offset': [256]}
Creating model...
Using node type: (<class 'model.networks.dla.DeformConv'>, <class 'model.networks.dla.DeformConv'>)
Warning: No ImageNet pretrain!!
Traceback (most recent call last):
File "demo.py", line 128, in <module>
demo(opt)
File "demo.py", line 24, in demo
detector = Detector(opt)
File "/home/cat/code/CenterTrack2/src/lib/detector.py", line 33, in __init__
opt.arch, opt.heads, opt.head_conv, opt=opt)
File "/home/cat/code/CenterTrack2/src/lib/model/model.py", line 28, in create_model
model = model_class(num_layers, heads=head, head_convs=head_conv, opt=opt)
File "/home/cat/code/CenterTrack2/src/lib/model/networks/dla.py", line 611, in __init__
node_type=self.node_type)
File "/home/cat/code/CenterTrack2/src/lib/model/networks/dla.py", line 564, in __init__
node_type=node_type))
File "/home/cat/code/CenterTrack2/src/lib/model/networks/dla.py", line 526, in __init__
proj = node_type[0](c, o)
File "/home/cat/code/CenterTrack2/src/lib/model/networks/dla.py", line 513, in __init__
self.conv = DCN(chi, cho, kernel_size=(3,3), stride=1, padding=1, dilation=1, deformable_groups=1)
TypeError: 'NoneType' object is not callable
You are correct that the repos have a slightly different layout - one with DCN code in its own folder and one without. To fix this you must change the import DCN calls in a few files, note that the error message is just a print statement and doesn't actually give you a detailed error.
in centertrack/src/lib/model/networks you must the import on "dla.py", "resdcn.py", and the two necks "dlaup.py" and "msraup.py".
original:
try: from ..DCNv2.dcn_v2 import DCN except: print('import DCN failed') DCN = None
new:
from DCN.dcn_v2 import DCN
This should also mean that if there are problems with DCN the appropriate errors to solve will be given.
Possible alternate solution:
(1) Added an empty __init__.py
in src/lib
.
(2) Changed the from .DCNv2 ...
to from model.networks.DCNv2.dcn_v2 import DCN
in the four files: dla.py
, resdcn.py
, dlaup.py
, and msraup.py
I had the same error. I first thought I compiled DCNv2 correctly and in my case it was not. so I ran python setup.py build develop
command manually inside my DCNv2 folder and it compiled DCNv2 successfully. It solved the problem and I got rid of the error. hope this helps.
Using DCNv2_newest instead of given DCNv2 worked for me. You don't need to change any codes in CenterTrack with this way.
-
cd CenterTrack/src/lib/model/networks/
-
git clone https://codechina.csdn.net/mirrors/jinfagang/DCNv2_latest.git
-
cd DCNv2_latest
-
vim make.sh
- remove
sudo
to prevent install out of current environment. -
sudo python3 setup.py build develop
->python3 setup.py build develop
- remove
-
./make.sh
python setup.py build develop ============> RuntimeError: Error compiling objects for extension
Also having similar compilation problems: I followed the instructions above to use dcnv2_latest. I run the setup.py build develop manually since I can't run bash on windows. After some time compiling I see an error:
ninja: build stopped: subcommand failed. Traceback (most recent call last): File "G:\anaconda\envs\centertrack\lib\site-packages\torch\utils\cpp_extension.py", line 1722, in _run_ninja_build subprocess.run( File "G:\anaconda\envs\centertrack\lib\subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
Full dump:
`(centertrack) D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest>python setup.py build develop
running build
running build_ext
building '_ext' extension
creating D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build
creating D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9
creating D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release
creating D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py
creating D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack
creating D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack\src
creating D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack\src\lib
creating D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack\src\lib\modelcreating D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack\src\lib\model\networks
creating D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack\src\lib\model\networks\DCNv2_latest
creating D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src
creating D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu
Emitting ninja build file D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/4] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -ID:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\torch\csrc\api\include -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\TH -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\THC -IG:\anaconda\envs\centertrack\include -IG:\anaconda\envs\centertrack\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" -c D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp /FoD:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:gnu++14
FAILED: D:/py/CenterTrack/src/lib/model/networks/DCNv2_latest/build/temp.win32-3.9/Release/py/CenterTrack/src/lib/model/networks/DCNv2_latest/src/cpu/dcn_v2_cpu.obj
cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -ID:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\torch\csrc\api\include -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\TH -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\THC -IG:\anaconda\envs\centertrack\include -IG:\anaconda\envs\centertrack\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" -c D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp /FoD:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:gnu++14
cl : Command line warning D9002 : ignoring unknown option '/std:gnu++14'
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::TensorBase
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::TensorBase
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::TensorBase
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBaseat::TensorBase' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/TensorBase.h(899): note: see reference to class template instantiation 'c10::optionalat::TensorBase' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::TensorBase
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::Tensor
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::Tensor
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBaseat::Tensor' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/TensorBody.h(444): note: see reference to class template instantiation 'c10::optionalat::Tensor' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::Generator
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::Generator
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::Generator
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBaseat::Generator' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/TensorBody.h(518): note: see reference to class template instantiation 'c10::optionalat::Generator' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::Generator
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(427): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/DeviceGuard.h(178): note: see reference to class template instantiation 'c10::impl::InlineOptionalDeviceGuardc10::impl::VirtualGuardImpl' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::DimVector
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::DimVector
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::DimVector
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBaseat::DimVector' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/TensorIterator.h(667): note: see reference to class template instantiation 'c10::optionalat::DimVector' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::DimVector
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::string
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::string
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::string
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBasestd::string' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type_base.h(108): note: see reference to class template instantiation 'c10::optionalstd::string' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::string
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(196): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/StreamGuard.h(139): note: see reference to class template instantiation 'c10::impl::InlineOptionalStreamGuardc10::impl::VirtualGuardImpl' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBasec10::impl::VirtualGuardImpl' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(231): note: see reference to class template instantiation 'c10::optional<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/StreamGuard.h(162): note: see reference to class template instantiation 'c10::impl::InlineMultiStreamGuardc10::impl::VirtualGuardImpl' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(374): note: see reference to class template instantiation 'c10::optional<std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(426): note: see reference to class template instantiation 'c10::optional<std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(511): note: see reference to class template instantiation 'c10::optional<std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(750): note: see reference to class template instantiation 'c10::VaryingShapec10::Stride' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(511): note: see reference to class template instantiation 'c10::optional<std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(556): note: see reference to class template instantiation 'c10::VaryingShape<int64_t>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<int64_t,std::allocator<int64_t>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(654): note: see reference to class template instantiation 'c10::optional<std::vector<int64_t,std::allocator<int64_t>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::QualifiedName
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::QualifiedName
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::QualifiedName
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBasec10::QualifiedName' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(990): note: see reference to class template instantiation 'c10::optionalc10::QualifiedName' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::QualifiedName
]
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(141): error C3861: 'TORCH_CHECK_ARG': identifier not found
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(142): error C3861: 'TORCH_CHECK_ARG': identifier not found
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(207): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(208): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(209): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(210): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(215): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(216): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(218): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(219): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(220): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(225): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(228): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(229): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(230): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_cpu.cpp(235): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.
[2/4] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -ID:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\torch\csrc\api\include -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\TH -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\THC -IG:\anaconda\envs\centertrack\include -IG:\anaconda\envs\centertrack\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" -c D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_psroi_pooling_cpu.cpp /FoD:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_psroi_pooling_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:gnu++14
FAILED: D:/py/CenterTrack/src/lib/model/networks/DCNv2_latest/build/temp.win32-3.9/Release/py/CenterTrack/src/lib/model/networks/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.obj
cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -ID:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\torch\csrc\api\include -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\TH -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\THC -IG:\anaconda\envs\centertrack\include -IG:\anaconda\envs\centertrack\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" -c D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_psroi_pooling_cpu.cpp /FoD:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_psroi_pooling_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:gnu++14
cl : Command line warning D9002 : ignoring unknown option '/std:gnu++14'
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::TensorBase
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::TensorBase
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::TensorBase
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBaseat::TensorBase' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/TensorBase.h(899): note: see reference to class template instantiation 'c10::optionalat::TensorBase' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::TensorBase
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::Tensor
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::Tensor
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBaseat::Tensor' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/TensorBody.h(444): note: see reference to class template instantiation 'c10::optionalat::Tensor' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::Generator
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::Generator
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::Generator
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBaseat::Generator' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/TensorBody.h(518): note: see reference to class template instantiation 'c10::optionalat::Generator' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::Generator
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(427): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/DeviceGuard.h(178): note: see reference to class template instantiation 'c10::impl::InlineOptionalDeviceGuardc10::impl::VirtualGuardImpl' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::DimVector
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::DimVector
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::DimVector
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBaseat::DimVector' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/TensorIterator.h(667): note: see reference to class template instantiation 'c10::optionalat::DimVector' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::DimVector
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::string
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::string
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::string
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBasestd::string' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type_base.h(108): note: see reference to class template instantiation 'c10::optionalstd::string' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::string
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(196): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/StreamGuard.h(139): note: see reference to class template instantiation 'c10::impl::InlineOptionalStreamGuardc10::impl::VirtualGuardImpl' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBasec10::impl::VirtualGuardImpl' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(231): note: see reference to class template instantiation 'c10::optional<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/StreamGuard.h(162): note: see reference to class template instantiation 'c10::impl::InlineMultiStreamGuardc10::impl::VirtualGuardImpl' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(374): note: see reference to class template instantiation 'c10::optional<std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(426): note: see reference to class template instantiation 'c10::optional<std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(511): note: see reference to class template instantiation 'c10::optional<std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(750): note: see reference to class template instantiation 'c10::VaryingShapec10::Stride' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(511): note: see reference to class template instantiation 'c10::optional<std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(556): note: see reference to class template instantiation 'c10::VaryingShape<int64_t>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<int64_t,std::allocator<int64_t>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(654): note: see reference to class template instantiation 'c10::optional<std::vector<int64_t,std::allocator<int64_t>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::QualifiedName
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::QualifiedName
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::QualifiedName
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBasec10::QualifiedName' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(990): note: see reference to class template instantiation 'c10::optionalc10::QualifiedName' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::QualifiedName
]
D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_psroi_pooling_cpu.cpp(16): fatal error C1083: Cannot open include file: 'ATen/ceil_div.h': No such file or directory
[3/4] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -ID:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\torch\csrc\api\include -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\TH -IG:\anaconda\envs\centertrack\lib\site-packages\torch\include\THC -IG:\anaconda\envs\centertrack\include -IG:\anaconda\envs\centertrack\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" -c D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_im2col_cpu.cpp /FoD:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\build\temp.win32-3.9\Release\py\CenterTrack\src\lib\model\networks\DCNv2_latest\src\cpu\dcn_v2_im2col_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:gnu++14
cl : Command line warning D9002 : ignoring unknown option '/std:gnu++14'
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::TensorBase
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::TensorBase
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::TensorBase
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBaseat::TensorBase' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/TensorBase.h(899): note: see reference to class template instantiation 'c10::optionalat::TensorBase' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::TensorBase
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::Tensor
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::Tensor
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBaseat::Tensor' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/TensorBody.h(444): note: see reference to class template instantiation 'c10::optionalat::Tensor' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::Generator
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::Generator
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::Generator
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBaseat::Generator' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/TensorBody.h(518): note: see reference to class template instantiation 'c10::optionalat::Generator' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::Generator
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(427): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/DeviceGuard.h(178): note: see reference to class template instantiation 'c10::impl::InlineOptionalDeviceGuardc10::impl::VirtualGuardImpl' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::DimVector
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::DimVector
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::DimVector
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBaseat::DimVector' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/TensorIterator.h(667): note: see reference to class template instantiation 'c10::optionalat::DimVector' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::DimVector
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::string
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::string
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::string
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBasestd::string' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type_base.h(108): note: see reference to class template instantiation 'c10::optionalstd::string' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::string
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(196): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/StreamGuard.h(139): note: see reference to class template instantiation 'c10::impl::InlineOptionalStreamGuardc10::impl::VirtualGuardImpl' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBasec10::impl::VirtualGuardImpl' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(231): note: see reference to class template instantiation 'c10::optional<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/core/StreamGuard.h(162): note: see reference to class template instantiation 'c10::impl::InlineMultiStreamGuardc10::impl::VirtualGuardImpl' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::VirtualGuardImpl
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(374): note: see reference to class template instantiation 'c10::optional<std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(426): note: see reference to class template instantiation 'c10::optional<std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(511): note: see reference to class template instantiation 'c10::optional<std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(750): note: see reference to class template instantiation 'c10::VaryingShapec10::Stride' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(511): note: see reference to class template instantiation 'c10::optional<std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(556): note: see reference to class template instantiation 'c10::VaryingShape<int64_t>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<int64_t,std::allocator<int64_t>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(654): note: see reference to class template instantiation 'c10::optional<std::vector<int64_t,std::allocator<int64_t>>>' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(184): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::QualifiedName
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(383): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::QualifiedName
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::QualifiedName
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(526): note: see reference to alias template instantiation 'c10::OptionalBasec10::QualifiedName' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\ATen/core/jit_type.h(990): note: see reference to class template instantiation 'c10::optionalc10::QualifiedName' being compiled
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/Optional.h(418): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::QualifiedName
]
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/intrusive_ptr.h(461): warning C4316: 'c10::ivalue::ComplexHolder': object allocated on the heap may not be aligned 16
G:\anaconda\envs\centertrack\lib\site-packages\torch\include\c10/util/intrusive_ptr.h(504): note: see reference to function template instantiation 'c10::intrusive_ptr<c10::ivalue::ComplexHolder,c10::detail::intrusive_target_default_null_type<T>> c10::intrusive_ptr<c10::ivalue::ComplexHolder,c10::detail::intrusive_target_default_null_type<T>>::make<c10::complex
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\py\CenterTrack\src\lib\model\networks\DCNv2_latest\setup.py", line 55, in
hey, guys, if you have DCNv2 problem, you can use this instead.
import math
import torch
import torch.nn as nn
import torchvision
class DCNv2(nn.Module):
def __init__(self, in_channels, out_channels, kernel_size, stride=1,
padding=1, dilation=1, groups=1, deformable_groups=1):
super(DCNv2, self).__init__()
self.in_channels = in_channels
self.out_channels = out_channels
self.kernel_size = kernel_size
self.stride = (stride, stride)
self.padding = (padding, padding)
self.dilation = (dilation, dilation)
self.groups = groups
self.deformable_groups = deformable_groups
self.weight = nn.Parameter(
torch.empty(out_channels, in_channels, *self.kernel_size)
)
self.bias = nn.Parameter(torch.empty(out_channels))
out_channels_offset_mask = (self.deformable_groups * 3 *
self.kernel_size[0] * self.kernel_size[1])
self.conv_offset_mask = nn.Conv2d(
self.in_channels,
out_channels_offset_mask,
kernel_size=self.kernel_size,
stride=self.stride,
padding=self.padding,
bias=True,
)
self.reset_parameters()
def forward(self, x):
offset_mask = self.conv_offset_mask(x)
o1, o2, mask = torch.chunk(offset_mask, 3, dim=1)
offset = torch.cat((o1, o2), dim=1)
mask = torch.sigmoid(mask)
x = torch.ops.torchvision.deform_conv2d(
x,
self.weight,
offset,
mask,
self.bias,
self.stride[0], self.stride[1],
self.padding[0], self.padding[1],
self.dilation[0], self.dilation[1],
self.groups,
self.deformable_groups,
True
)
return x
def reset_parameters(self):
n = self.in_channels
for k in self.kernel_size:
n *= k
std = 1. / math.sqrt(n)
self.weight.data.uniform_(-std, std)
self.bias.data.zero_()
self.conv_offset_mask.weight.data.zero_()
self.conv_offset_mask.bias.data.zero_()
DCN = DCNv2
Try using Docker: https://github.com/bryanbocao/CenterTrack/blob/master/readme/Docker.md https://github.com/xingyizhou/CenterTrack/pull/290
Run CenterTrack using Docker
DCNv2 Compilation Issue Fixed
docker pull bryanbocao/centertrack
docker run -d --ipc=host --shm-size=16384m -it -v /:/share --gpus all --network=bridge bryanbocao/centertrack /bin/bash
docker ps -a
Check <CONTAINER_ID>
:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
89bb79551ccb bryanbocao/centertrack "/usr/local/bin/nvid…" 49 seconds ago Up 38 seconds 6006/tcp, 8888/tcp competent_northcutt
docker exec -it <CONTAINE_ID> /bin/bash
docker exec -it 89bb79551ccb /bin/bash
Inside the container:
cd /root/CenterTrack/src/lib/model/networks/DCNv2
python3 setup.py build develop
cd /root/CenterTrack/src/
python3 demo.py tracking,ddd --load_model ../models/nuScenes_3Dtracking.pth --dataset nuscenes --pre_hm --track_thresh 0.1 --demo ../videos/nuscenes_mini.mp4 --test_focal_length 633
The DCNv2 is built from MatthewHowe_DCNv2. Thanks MatthewHowe for the contribution. Then you should be able to see the results.
Go to /share
to transfer data between the container and your root system.