Tramac / awesome-semantic-segmentation-pytorch

Semantic Segmentation on PyTorch (include FCN, PSPNet, Deeplabv3, Deeplabv3+, DANet, DenseASPP, BiSeNet, EncNet, DUNet, ICNet, ENet, OCNet, CCNet, PSANet, CGNet, ESPNet, LEDNet, DFANet)
Apache License 2.0
2.85k stars 582 forks source link

error: command 'E:\\CUDA10.0\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.0\\bin\\nvcc.exe' failed with exit status 2 #94

Open renmmmmmm opened 4 years ago

renmmmmmm commented 4 years ago

E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\c10/util/Half.h(324): note: 参见“c10::Half”的声明 E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\THC/generic/THCTensorMathReduce.h(17): warning C4190: “THCudaHalfTensor_maxall”有指定的 C 链接,但返回了与 C 不兼容的 UDT“c10::Half” E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\c10/util/Half.h(324): note: 参见“c10::Half”的声明 E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\THC/generic/THCTensorMathReduce.h(38): warning C4190: “THCudaHalfTensor_medianall”有指定的 C 链接,但返回了与 C 不兼容的 UDT“c10::Half” E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\c10/util/Half.h(324): note: 参见“c10::Half”的声明 E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\THC/THCNumerics.cuh(83): warning C4804: “/”: 在操作中使用类 型“bool”不安全 error: command 'E:\CUDA10.0\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe' failed with exit status 2 python=3.6 cuda=10.0 pytorch=1.2 vs2015 Does anyone know how to solve this problem?

renmmmmmm commented 4 years ago

vs2017 +Try to remove code #include <THC/THCAtomics.cuh> in ca_cuda.cu and psa_cuda.

chl916185 commented 4 years ago

1 error detected in the compilation of "C:/Users/SFYU/AppData/Local/Temp/tmpxft_00002dfc_00000000-10_syncbn_cuda.cpp1.ii". error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe' failed with exit status 1 How to solve it? pytorch=1.2.0 @renmmmmmm @Tramac @roclark

zhengyangdiyiruiwen commented 4 years ago

hello,i use cuda8.0+cndnn5.1 solve it ,u can try.

FlyingAnt2018 commented 4 years ago

E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\c10/util/Half.h(324): note: 参见“c10::Half”的声明 E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\THC/generic/THCTensorMathReduce.h(17): warning C4190: “THCudaHalfTensor_maxall”有指定的 C 链接,但返回了与 C 不兼容的 UDT“c10::Half” E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\c10/util/Half.h(324): note: 参见“c10::Half”的声明 E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\THC/generic/THCTensorMathReduce.h(38): warning C4190: “THCudaHalfTensor_medianall”有指定的 C 链接,但返回了与 C 不兼容的 UDT“c10::Half” E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\c10/util/Half.h(324): note: 参见“c10::Half”的声明 E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\THC/THCNumerics.cuh(83): warning C4804: “/”: 在操作中使用类 型“bool”不安全 error: command 'E:\CUDA10.0\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe' failed with exit status 2 python=3.6 cuda=10.0 pytorch=1.2 vs2015 Does anyone know how to solve this problem?

hello,have u solve it?

XDhughie commented 4 years ago

@chl916185 have u solve it?

FlyingAnt2018 commented 4 years ago

sorry, i have forgot the question,

maybe solved

在 2020-06-24 16:40:38,"hughie" notifications@github.com 写道:

@chl916185 have u solve it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.