-
Notifications
You must be signed in to change notification settings - Fork 2.5k
python setup.py build develop fails on Windows 10 #254
Comments
Cuda: 9.0 Also fails on Windows10 with error below: "error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2" Could somebody help? |
I have the same issue. Maybe it's a GCC thing. Win 10, python 3.7, pytorch 1.0 stable, Cuda 10. Will send more detailed logs later. |
Cuda: 9.0 A lot of errors: File "setup.py", line 29 (python36) c:\Users\wangyong\maskrcnn-benchmark-master>python setup.py build develop (python36) c:\Users\wangyong\maskrcnn-benchmark-master>python setup.py build develop (python36) c:\Users\wangyong\maskrcnn-benchmark-master>python setup.py build develop (python36) c:\Users\wangyong\maskrcnn-benchmark-master>python setup.py build develop |
I have the same bug when run setup.py as freesunshine's bug report. win10+anaconda+py3.6+pytorch1.0_stable+cuda9.0+cudnn7 |
@Maosef and all: I unfortunately don't have a Windows machine to try out and see what the problems are. But from @Maosef first question, the solution might be easy:
int ceil_div(int a, int b):
return (a + b - 1) / b;
dim3 grid(std::min(ceil_div((int)grad.numel(), 512), 4096)); |
@Maosef |
@BG2CRW I had accidentally rebuilt it in WSL, which works but doesn't use GPU. Back to here! @fmassa I'm not sure how to use your code. Just putting it in the file you mentioned (ROIAlign.cu) just results in more errors, since ceil_div isn't defined. It looks like python syntax; am I supposed to put it somewhere else? |
@Maosef my snippet was indeed pseudo-code that was a mixture of python and c :-D |
@fmassa Thanks for the clarification. After adding the changes to this file (and ROIPool_cuda.cu, same things), I got this new error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\site-packages\torch\lib "/LIBPATH:C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v10.0\lib/x64" /LIBPATH:C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\libs /LIBPATH:C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" cudart.lib c10.lib caffe2.lib torch.lib torch_python.lib caffe2_gpu.lib _C.lib /EXPORT:PyInit__C build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc\vision.obj build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cpu\nms_cpu.obj build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cpu\ROIAlign_cpu.obj build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cuda\nms.obj build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cuda\ROIAlign_cuda.obj build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cuda\ROIPool_cuda.obj /OUT:build\lib.win-amd64-3.7\maskrcnn_benchmark_C.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc_C.cp37-win_amd64.lib |
the error happened because of double definition of the same function. You can solve this issue by renaming |
Looks like the build worked, but another error resulted from develop. Generating code It's weird how the path is the Unix path, rather than the Windows one. Looking into the docs, that's why the error was raised. Is there any way to edit the path without altering setuptools? |
After deleting the build and egg-info files, then rebuilding, it works! Thank you! |
@Maosef could you please send a PR with the fixes that you did so that it builds properly on Windows? It would be awesome and a great contribution! Thanks! |
Created! |
@Maosef So,do you build it in WSL |
@BG2CRW built in Anaconda prompt, provided you want GPU utilization. |
@Maosef have you ever meet this problem? nms.obj : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MT_StaticRelease”(vision.obj 中) how could I deal with it? |
@Maosef Could you tell me which version cl.exe you used and can you share me the install package. |
@BG2CRW I haven't seen that issue before, sorry. The path to my cl.exe is C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64 Did you install Desktop Development with C++? |
@Maosef Yes, I have installed the vs2017 fully, The path to my cl.exe is C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64, it is the same with you. My error was occurred in linking not compiling. It tell me I need to change the runtime library in VS IDE's props. |
@freesunshine I got the same problem, did you solve it? Any suggestion? |
@Darknesszlx, you can install the complete VS2017 and cuda10 |
@BG2CRW I got the following error.
|
@freesunshine @Darknesszlx I got the same problem with Win10 + VS2017 + cuda9.0 , did you solve it? |
I have merged the solutions above: |
@danpe1327 was the changes in your document enough to build on Windows? |
Unfortunatly I still got errors after applying the solutions discussed here. My setup: Windows 10, CUDA V10.0.130, cudNN 7.4.2, VS 2017 15.9.5 x64, PyTorch nightly (conda 1.0.0.dev20190108 py3.6_cuda100_cudnn7_0 [cuda100]) I have applied the Pull Request (#271) from @Maosef. After that I got the following compilation error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /nodefaultlib:libucrt.lib ucrt.lib /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\kdo\AppData\Local\conda\conda\envs\maskrcnn_benchmark\lib\site-packages\torch\lib "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\lib/x64" /LIBPATH:C:\Users\kdo\AppData\Local\conda\conda\envs\maskrcnn_benchmark\libs /LIBPATH:C:\Users\kdo\AppData\Local\conda\conda\envs\maskrcnn_benchmark\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" cudart.lib c10.lib caffe2.lib torch.lib torch_python.lib caffe2_gpu.lib _C.lib /EXPORT:PyInit__C build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\vision.obj build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cpu\nms_cpu.obj build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cpu\ROIAlign_cpu.obj build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cuda\nms.obj build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cuda\ROIAlign_cuda.obj build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cuda\ROIPool_cuda.obj /OUT:build\lib.win-amd64-3.6\maskrcnn_benchmark_C.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc_C.cp36-win_amd64.lib /NODEFAULTLIB:LIBCMT.LIB ROIAlign_cuda.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl c10::cuda::CUDAStream::operator struct CUstream_st *(void)const " (_imp??BCUDAStream@cuda@c10@@QEBAPEAUCUstream_st@@xz) Do you have any idea about what could cause this error ? |
@doikovski change setup.py like above |
@doikovski And this repo has adapted to pytorch1.0 while it can't adapted pytorch nightly. |
@BG2CRW Thanks for your propositions. Using pytorch 1.0 release instead of pytorch nightly (which was suggested in the installation guide) solved the problem ! Thank you ! |
@fmassa I completed the solutions, and it is enough to build on windows now. |
Thanks for the help. I should investigate if the nightly is failing to compile on linux as well. |
On my side, it seems that a type-cast into longs is actually sufficient to compile on Windows. |
i have met the same issue,have you got any solution? |
gave up trying pytorch on windows. I switched to Tensorflow |
i switched to ubuntu. haha
…------------------ Original ------------------
From: "Yuanpu Xie"<notifications@github.com>;
Date: Sat, Mar 16, 2019 04:48 AM
To: "facebookresearch/maskrcnn-benchmark"<maskrcnn-benchmark@noreply.github.com>;
Cc: "甘昊林"<390820652@qq.com>; "Comment"<comment@noreply.github.com>;
Subject: Re: [facebookresearch/maskrcnn-benchmark] python setup.py builddevelop fails on Windows 10 (#254)
Cuda: 9.0
cudnn:7.1.4
Pytorch 1.0 release
anaconda3 + python 3.6
Also fails on Windows10 with error below:
"error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2"
Could somebody help?
Cuda: 9.0
cudnn:7.1.4
Pytorch 1.0 release
anaconda3 + python 3.6
Also fails on Windows10 with error below:
"error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2"
Could somebody help?
i have met the same issue,have you got any solution?
gave up trying pytorch on windows. I switched to Tensorflow
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@freesunshine I met the same error. Have you solved this? |
@BG2CRW Have you fixed the error "error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2", I met the same issue |
@fmassa Do you have any idea about the error |
@BG2CRW @Maosef @fmassa I tried the edits in the logs above, no avail. Im using CUDA 10.1, Windows 10, VS 2019 (the 15,17 and 19 come in one package now), and am not quite sure how to make it pick the correct one. Im trying to build detectron2 via setup_py, and recieve the initial error mentioned: 1 error detected in the compilation of "C:/Users/aesnj/AppData/Local/Temp/tmpxft_00007274_00000000-10_deform_conv_cuda.cpp1.ii". When opennig the tmp file referenced I see: C:\Users\aesnj\AppData\Local\Temp\pip-req-build-1ys_emb3>call "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat" ** Visual Studio 2019 Developer Command Prompt v16.3.1 [vcvarsall.bat] Environment initialized for: 'x64' C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc.exe -c C:\projects\pytorch\pytorch\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda.cu -o build\temp.win-amd64-3.7\Release\projects\pytorch\pytorch\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda.obj -IC:\projects\pytorch\pytorch\detectron2\detectron2\layers\csrc -IC:\Users\aesnj\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include -IC:\Users\aesnj\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\aesnj\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\TH -IC:\Users\aesnj\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\aesnj\AppData\Local\Programs\Python\Python37\include -IC:\Users\aesnj\AppData\Local\Programs\Python\Python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -Xcompiler /EHsc -Xcompiler /wd4819 -Xcompiler /MD -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 after which (and prior to fatal error) I get alot of warnings: _C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/Exception.h(29): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/Exception.h(30): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/Exception.h(35): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/Exception.h(36): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/Allocator.h(21): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/Allocator.h(183): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(458): warning: dllexport/dllimport conflict with "caffe2::TypeMeta::_typeMetaDataInstance [with T=caffe2::detail::_Uninitialized]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(579): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=uint8_t]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(580): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int8_t]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(581): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int16_t]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(582): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(583): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int64_t]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(584): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::Half]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(585): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=float]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(586): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=double]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(587): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::ComplexHalf]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(588): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::complex]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(589): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::complex]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(592): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::string]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(593): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=__nv_bool]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(594): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=uint16_t]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(595): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=char]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(596): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::unique_ptr<std::mutex, std::default_deletestd::mutex>]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(597): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::unique_ptr<std::atomic<__nv_bool>, std::default_delete<std::atomic<__nv_bool>>>]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(598): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector<int32_t, std::allocator<int32_t>>]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(599): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector<int64_t, std::allocator<int64_t>>]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(600): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector<unsigned long, std::allocator>]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(601): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=__nv_bool *]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(602): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=char *]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(603): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int *]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(623): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=caffe2::detail::_guard_long_unique]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(624): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=caffe2::detail::_guard_long_unique<std::vector<long, std::allocator>>]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(629): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=float *]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(630): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::Half *]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(631): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::qint8]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(632): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::quint8]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(633): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::qint32]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(634): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::BFloat16]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(635): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=caffe2::_CaffeHighestPreallocatedTypeId]" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/intrusive_ptr.h(63): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/intrusive_ptr.h(64): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/Storage.h(182): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/logging_is_not_google_glog.h(47): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(202): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(1575): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(1578): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(1600): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(1601): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(1626): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(1629): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/Generator.h(75): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/NamedTensor.h(53): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/TensorBody.h(999): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(370): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(603): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(604): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(607): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(619): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(734): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(783): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(855): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(857): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(1516): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(1517): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(1519): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(1523): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(1526): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(1573): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(118): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(138): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(139): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(183): warning: base class dllexport/dllimport specification differs from that of the derived class C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(195): warning: base class dllexport/dllimport specification differs from that of the derived class C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(205): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(296): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(297): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(298): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(301): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(302): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(308): warning: base class dllexport/dllimport specification differs from that of the derived class C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(370): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(371): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ATenDispatch.h(120): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ATenDispatch.h(144): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ATenDispatch.h(145): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/boxing/KernelFunction.h(375): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/boxing/KernelFunction.h(376): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/dispatch/Dispatcher.h(116): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/dispatch/Dispatcher.h(117): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/dispatch/Dispatcher.h(118): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/dispatch/Dispatcher.h(119): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/dispatch/Dispatcher.h(147): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/dispatch/Dispatcher.h(162): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/CPUGenerator.h(32): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/CPUGenerator.h(33): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/CPUGenerator.h(34): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/Context.h(124): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/Context.h(125): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/Context.h(130): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/Context.h(131): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/Context.h(132): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/TensorGeometry.h(56): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/TensorGeometry.h(57): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(353): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(356): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(357): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(359): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(360): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(376): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/tracer.h(49): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/tracer.h(52): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/tracer.h(85): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/tracer.h(181): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/tracer.h(307): warning: dllexport/dllimport conflict with "torch::jit::tracer::addInputs" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/tracer.h(311): warning: dllexport/dllimport conflict with "torch::jit::tracer::addInputs" C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/attributes.h(87): warning: base class dllexport/dllimport specification differs from that of the derived class C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/attributes.h(101): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/attributes.h(104): warning: base class dllexport/dllimport specification differs from that of the derived class C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/attributes.h(118): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/scope.h(22): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/source_range.h(163): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/constants.h(20): warning: base class dllexport/dllimport specification differs from that of the derived class C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/operator.h(154): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/operator.h(158): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/operator.h(162): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/operator.h(164): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/operator.h(165): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/ir.h(245): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/ir.h(246): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/ir.h(248): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/ir.h(251): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/ir.h(252): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/ir.h(768): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/data/samplers/distributed.h(96): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/data/samplers/distributed.h(129): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/argument_spec.h(190): error: member "torch::jit::ArgumentSpecCreator::DEPTH_LIMIT" may not be initialized C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/argument_spec.h(198): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/interpreter.h(52): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/graph_executor.h(51): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/slot.h(57): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/function.h(108): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/function.h(110): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/function.h(115): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/function.h(123): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/function.h(130): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/function.h(135): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/compilation_unit.h(247): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/compilation_unit.h(249): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/compilation_unit.h(250): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/compilation_unit.h(257): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(102): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(455): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(494): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(553): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(556): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/serialize/output-archive.h(74): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/module.h(554): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/module.h(557): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/module.h(560): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/module.h(563): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/container/functional.h(94): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/conv.h(35): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/conv.h(35): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/conv.h(35): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/fold.h(20): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/fold.h(23): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/fold.h(27): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/fold.h(31): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/fold.h(34): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(27): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(27): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(27): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(97): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(97): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(97): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(179): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(179): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(179): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(71): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(73): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(75): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(77): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(113): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(110): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(110): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(110): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/optimizer.h(83): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adagrad.h(28): warning: base class dllexport/dllimport specification differs from that of the derived class C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adagrad.h(44): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adagrad.h(45): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adam.h(31): warning: base class dllexport/dllimport specification differs from that of the derived class C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adam.h(45): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adam.h(46): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adam.h(47): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adam.h(48): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/lbfgs.h(27): warning: base class dllexport/dllimport specification differs from that of the derived class C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/lbfgs.h(48): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/lbfgs.h(49): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/lbfgs.h(50): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/lbfgs.h(51): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/rmsprop.h(34): warning: base class dllexport/dllimport specification differs from that of the derived class C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/rmsprop.h(50): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/rmsprop.h(51): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/rmsprop.h(52): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/sgd.h(31): warning: base class dllexport/dllimport specification differs from that of the derived class C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/sgd.h(46): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/record_function.h(25): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/record_function.h(90): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/profiler.h(97): warning: modifier is ignored on an enum specifier C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/profiler.h(112): warning: modifier is ignored on an enum specifier C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/profiler.h(169): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/profiler.h(245): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/saved_variable.h(46): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/saved_variable.h(49): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/saved_variable.h(50): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/function.h(353): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/function.h(355): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/function.h(356): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/function.h(357): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/function.h(358): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(84): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(105): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(106): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(107): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(108): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(113): warning: field of class type without a DLL interface used in a class with a DLL interface C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(129): warning: field of class type without a DLL interface used in a class with a DLL interface_ |
Have you resolved this error? |
can you tell me what version of visual studio you exploit? and please share your experience how to solve it step by step, please. |
I move this repo from Mac, and I got the same issue, delete Build and egg works for me, thanks! |
I tried this solution but it didn't work for me, I am not sure if this is still relevant, however, I was facing a similar issue when I was trying to run setup after cloning from the official mask_rcnn repo and then installing it via the below command
So, instead of doing it via clone and running the above code, I directly ran the below command and it worked for me
|
Setup: CUDA 10.0.130, cudNN 7.4.1, VS 2017 15.9.3 x64, PyTorch nightly (conda)
INPUT
python setup.py build develop
OUTPUT
...
C:/Users/pazzu/Documents/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu(275): error: no instance of function template "THCCeilDiv" matches the argument list
argument types are: (long long, long)
C:/Users/pazzu/Documents/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu(275): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (, long)
C:/Users/pazzu/Documents/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu(320): error: no instance of function template "THCCeilDiv" matches the argument list
argument types are: (int64_t, long)
C:/Users/pazzu/Documents/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu(320): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (, long)
4 errors detected in the compilation of "C:/Users/pazzu/AppData/Local/Temp/tmpxft_00003e80_00000000-10_ROIAlign_cuda.cpp1.ii".
error: command 'C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v10.0\bin\nvcc.exe' failed with exit status 1
The text was updated successfully, but these errors were encountered: