awesome-semantic-segmentation-pytorch
awesome-semantic-segmentation-pytorch copied to clipboard
I meet errors during installation when building syncbn
I meet errors during installation when building syncbn Is this module necessary? According to the documents ,pytorch now have the syncbn. How should I solve this problem? Thanks
`G:/anaconda/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(467): error: member "torch::jit::script::detail::ModulePolicy::all_slots" may not be initialized
G:/anaconda/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(480): error: member "torch::jit::script::detail::ParameterPolicy::all_slots" may not be initialized
G:/anaconda/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(494): error: member "torch::jit::script::detail::BufferPolicy::all_slots" may not be initialized
G:/anaconda/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(507): error: member "torch::jit::script::detail::AttributePolicy::all_slots" may not be initialized
G:/anaconda/lib/site-packages/torch/include/torch/csrc/api/include\torch/serialize/input-archive.h(105): warning: field of class type without a DLL interface used in a class with a DLL interface
G:/anaconda/lib/site-packages/torch/include/torch/csrc/api/include\torch/serialize/output-archive.h(78): warning: field of class type without a DLL interface used in a class with a DLL interface
G:/anaconda/lib/site-packages/torch/include\c10/cuda/CUDAStream.h(171): warning: field of class type without a DLL interface used in a class with a DLL interface
5 errors detected in the compilation of "C:/Users/Liu/AppData/Local/Temp/tmpxft_00001f84_00000000-10_syncbn_cuda.cpp1.ii". error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc.exe' failed with exit status 1`
I met the same error, have you solved it? my env: python3.6 CUDA 9.2 cudnn 7.6 VS2017 torch 1.3.1
C:/Users/jd/.conda/envs/py36/lib/site-packages/torch/include\torch/csrc/jit/script/compilation_unit.h(246): warning: field of class type without a DLL interface used in a class with a DLL interface
C:/Users/jd/.conda/envs/py36/lib/site-packages/torch/include\torch/csrc/jit/script/compilation_unit.h(248): warning: field of class type without a DLL interface used in a class with a DLL interface
C:/Users/jd/.conda/envs/py36/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/jd/.conda/envs/py36/lib/site-packages/torch/include\torch/csrc/jit/script/compilation_unit.h(256): warning: field of class type without a DLL interface used in a class with a DLL interface
C:/Users/jd/.conda/envs/py36/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/jd/.conda/envs/py36/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(454): warning: field of class type without a DLL interface used in a class with a DLL interface
C:/Users/jd/.conda/envs/py36/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(493): warning: field of class type without a DLL interface used in a class with a DLL interface
C:/Users/jd/.conda/envs/py36/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(552): warning: field of class type without a DLL interface used in a class with a DLL interface
C:/Users/jd/.conda/envs/py36/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(555): warning: field of class type without a DLL interface used in a class with a DLL interface
C:/Users/jd/.conda/envs/py36/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/jd/.conda/envs/py36/lib/site-packages/torch/include\c10/cuda/CUDAStream.h(171): warning: field of class type without a DLL interface used in a class with a DLL interface
I met the same error, have you solved it?
I suggest you try it in linux !!