Comments (12)
Processing dependencies for semantic-segmentation==0.1
Finished processing dependencies for semantic-segmentation==0.1
I have solved! thank you very much!
It also depends on the python version, but as expected cuda 8.0 was the cause.
from awesome-semantic-segmentation-pytorch.
@wangxin1233
Hi, can you give some advice?
from awesome-semantic-segmentation-pytorch.
I have no advice. sorry.
from awesome-semantic-segmentation-pytorch.
en, i was asking @wangxin1233 for advice.
from awesome-semantic-segmentation-pytorch.
What is the version of cuda? 8.0? 9.0?
from awesome-semantic-segmentation-pytorch.
The project was tested on CUDA8.0 and CUDA10.0.
from awesome-semantic-segmentation-pytorch.
I thought that CUDA 8.0 was the cause, but it is not.
from awesome-semantic-segmentation-pytorch.
Can you provide the detail bugs info?
from awesome-semantic-segmentation-pytorch.
python setup.py build develop
error
ーーーーーーーーーーーーーーー
running build
running build_ext
building '.C' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/home
creating build/temp.linux-x86_64-3.6/home/atsushi
creating build/temp.linux-x86_64-3.6/home/atsushi/Pytorch
creating build/temp.linux-x86_64-3.6/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch
creating build/temp.linux-x86_64-3.6/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core
creating build/temp.linux-x86_64-3.6/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn
creating build/temp.linux-x86_64-3.6/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc
creating build/temp.linux-x86_64-3.6/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc/cpu
creating build/temp.linux-x86_64-3.6/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc/cuda
gcc -pthread -B /home/atsushi/.pyenv/versions/anaconda3-5.0.1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/TH -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/include/python3.6m -c /home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc/vision.cpp -o build/temp.linux-x86_64-3.6/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc/vision.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/atsushi/.pyenv/versions/anaconda3-5.0.1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/TH -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/include/python3.6m -c /home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc/cpu/syncbn_cpu.cpp -o build/temp.linux-x86_64-3.6/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc/cpu/syncbn_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/atsushi/.pyenv/versions/anaconda3-5.0.1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/TH -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/include/python3.6m -c /home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc/cpu/ca_cpu.cpp -o build/temp.linux-x86_64-3.6/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc/cpu/ca_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/atsushi/.pyenv/versions/anaconda3-5.0.1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/TH -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/include/python3.6m -c /home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc/cpu/psa_cpu.cpp -o build/temp.linux-x86_64-3.6/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc/cpu/psa_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/usr/local/cuda/bin/nvcc -DWITH_CUDA -I/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/TH -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/atsushi/.pyenv/versions/anaconda3-5.0.1/include/python3.6m -c /home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc/cuda/psa_cuda.cu -o build/temp.linux-x86_64-3.6/home/atsushi/Pytorch/awesome-semantic-segmentation-pytorch/core/nn/csrc/cuda/psa_cuda.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS_ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/c10/util/Half-inl.h(21): error: identifier "__half_as_short" is undefined
/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/ATen/cuda/NumericLimits.cuh(83): warning: calling a constexpr host function("from_bits") from a host device function("lowest") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.
/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/ATen/cuda/NumericLimits.cuh(84): warning: calling a constexpr host function("from_bits") from a host device function("max") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.
/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/ATen/cuda/NumericLimits.cuh(85): warning: calling a constexpr host function("from_bits") from a host device function("lower_bound") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.
/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/ATen/cuda/NumericLimits.cuh(86): warning: calling a constexpr host function("from_bits") from a host device function("upper_bound") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.
/home/atsushi/.pyenv/versions/anaconda3-5.0.1/lib/python3.6/site-packages/torch/include/THC/THCNumerics.cuh(195): error: identifier "__half_as_ushort" is undefined
2 errors detected in the compilation of "/tmp/tmpxft_000021af_00000000-7_psa_cuda.cpp1.ii".
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 2
ーーーーーーーーーーーーーーー
from awesome-semantic-segmentation-pytorch.
Maybe it need to update CUDA, but i'm not sure.
from awesome-semantic-segmentation-pytorch.
pytorch in python 3.6.8 feels good cuda 9.0 or more.
from awesome-semantic-segmentation-pytorch.
Great!
from awesome-semantic-segmentation-pytorch.
Related Issues (20)
- Errors occured when running with multi-GPUs
- 为什么只能训练fcn系列的
- why " iteration=iteration+1" in train.py ?
- 有人能把模型跑到论文中的精度吗 HOT 1
- Why the performance dropped by half when use pytorch1.5 or the newer version?
- Hello! Is there any group number?
- 执行demo程序发生如下报错TypeError: __init__() got an unexpected keyword argument 'local_rank'怎么解决 HOT 2
- DenseASPP与官方代码似乎实现的不太一样(different implemantation with official code in DenseASPP)
- 有训练好的checkpoint吗
- 请问一下这个fcn32s_vgg16_pascal_voc.pth在哪里获取啊?根据readme的指示跑demo.py出现ValueError: Model file is not found. Downloading or trainning.
- bisenet cityscapes the miou is low
- VOC_aug里的mat格式标签怎么得到
- bisenet我只能跑到64左右,离论文里面的76差了很多,有人跑到哪个精度吗
- TypeError: init() got an unexpected keyword argument 'local_rank' HOT 2
- DeepLabV3+, the backbone can only use Xception, and other backbones cannot be selected
- 预训练权重
- Dataset Directory Structure
- model file path issue. Getting error - ValueError: Model file is not found. Downloading or training. Please help!
- Anyone able to successfully execute it with ade20k dataset? Please help!
- RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-semantic-segmentation-pytorch.