Git Product home page Git Product logo

Comments (12)

82018303kazuma avatar 82018303kazuma commented on July 22, 2024 1

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.

Tramac avatar Tramac commented on July 22, 2024

@wangxin1233
Hi, can you give some advice?

from awesome-semantic-segmentation-pytorch.

82018303kazuma avatar 82018303kazuma commented on July 22, 2024

I have no advice. sorry.

from awesome-semantic-segmentation-pytorch.

Tramac avatar Tramac commented on July 22, 2024

en, i was asking @wangxin1233 for advice.

from awesome-semantic-segmentation-pytorch.

82018303kazuma avatar 82018303kazuma commented on July 22, 2024

What is the version of cuda? 8.0? 9.0?

from awesome-semantic-segmentation-pytorch.

Tramac avatar Tramac commented on July 22, 2024

The project was tested on CUDA8.0 and CUDA10.0.

from awesome-semantic-segmentation-pytorch.

82018303kazuma avatar 82018303kazuma commented on July 22, 2024

I thought that CUDA 8.0 was the cause, but it is not.

from awesome-semantic-segmentation-pytorch.

Tramac avatar Tramac commented on July 22, 2024

Can you provide the detail bugs info?

from awesome-semantic-segmentation-pytorch.

82018303kazuma avatar 82018303kazuma commented on July 22, 2024

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.

Tramac avatar Tramac commented on July 22, 2024

Maybe it need to update CUDA, but i'm not sure.

from awesome-semantic-segmentation-pytorch.

82018303kazuma avatar 82018303kazuma commented on July 22, 2024

pytorch in python 3.6.8 feels good cuda 9.0 or more.

from awesome-semantic-segmentation-pytorch.

Tramac avatar Tramac commented on July 22, 2024

Great!

from awesome-semantic-segmentation-pytorch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.