Giter Club home page Giter Club logo

Comments (5)

hzxie avatar hzxie commented on June 3, 2024

I can't reproduce this error.
Please provide the full logs and your system environment (including OS, Python Version, PyTorch Version).

from grnet.

mingmou123 avatar mingmou123 commented on June 3, 2024

@hzxie
ubuntu 18.04 python3.7 pytorch 1.5.0

python setup.py install --user

Compiling objects...

FAILED: /home/muxinyue/code/GRNet/extensions/chamfer_dist/build/temp.linux-x86_64-3.7/chamfer.o
:/usr/local/cuda-10.1/bin/nvcc -I/home/muxinyue/anaconda3/envs/GRNet/lib/python3.7/site-packages/torch/include -I/home/muxinyue/anaconda3/envs/GRNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/muxinyue/anaconda3/envs/GRNet/lib/python3.7/site-packages/torch/include/TH -I/home/muxinyue/anaconda3/envs/GRNet/lib/python3.7/site-packages/torch/include/THC -I:/usr/local/cuda-10.1/include -I/home/muxinyue/anaconda3/envs/GRNet/include/python3.7m -c -c /home/muxinyue/code/GRNet/extensions/chamfer_dist/chamfer.cu -o /home/muxinyue/code/GRNet/extensions/chamfer_dist/build/temp.linux-x86_64-3.7/chamfer.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=chamfer -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
/bin/sh: 1: :/usr/local/cuda-10.1/bin/nvcc: not found
ninja: build stopped: subcommand failed.

Traceback (most recent call last):
File "/home/muxinyue/anaconda3/envs/GRNet/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1400, in _run_ninja_build
check=True)
File "/home/muxinyue/anaconda3/envs/GRNet/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

if I fix the '['ninja', '-v']' with '['ninja', '--version']' there was appeared another error: GRNet/extensions/chamfer_dist/build/temp.linux-x86_64-3.7/chamfer.o: 没有那个文件或目录

can you tell me how to solve it? I confirm that the nvcc path has all ready been added into the path.

from grnet.

hzxie avatar hzxie commented on June 3, 2024

The log said "/bin/sh: 1: :/usr/local/cuda-10.1/bin/nvcc: not found"

from grnet.

mingmou123 avatar mingmou123 commented on June 3, 2024

@hzxie
but I find nvcc in this folder, and I also add the path, what's wrong? Thanks.

from grnet.

hzxie avatar hzxie commented on June 3, 2024

Please double check the PATH variable.

from grnet.

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.