GithubHelp home page GithubHelp logo

Problem with nvcc about second.pytorch HOT 4 CLOSED

traveller59 avatar traveller59 commented on June 23, 2024
Problem with nvcc

from second.pytorch.

Comments (4)

traveller59 avatar traveller59 commented on June 23, 2024

Can you build the library by manually use that build command? I can't understand this error, have you added the nvcc path to PATH environment variable?

from second.pytorch.

repa1022 avatar repa1022 commented on June 23, 2024

using the command like this from folder "second" works fine.

nvcc -std=c++11 -c -o core/cc/nms/nms_kernel.cu.o core/cc/nms/nms_kernel.cu.cc -I/usr/local/cuda/include -x cu -Xcompiler -fPIC -arch=sm_61 --expt-relaxed-constexpr

What do I have to do now to get the "nms" files in "non_max_suppression" as the Error still occurs?

Traceback (most recent call last):
  File "/home/par/Documents/second.pytorch/second/core/non_max_suppression/nms_cpu.py", line 10, in <module>
    from second.core.non_max_suppression.nms import (
ModuleNotFoundError: No module named 'second.core.non_max_suppression.nms'

the nvcc path is added to the PATH variable.
I have to execute the create_data.py as sudo user because of permissions.
Could that causes the problem?

from second.pytorch.

traveller59 avatar traveller59 commented on June 23, 2024

The problem is running with sudo don't pass the environment variables of current user. you need to try some approach to pass envs to sudo or just don't use sudo.

from second.pytorch.

repa1022 avatar repa1022 commented on June 23, 2024

I was able to fix the problem by not using sudo (changed some rights and owners)
Thank you for your help!

from second.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.