Code Monkey home page Code Monkey logo

Comments (11)

songdejia avatar songdejia commented on May 13, 2024 20

conda install gcc ~ may help you

from yolo2-pytorch.

sxs11 avatar sxs11 commented on May 13, 2024 8

try to modify the make.sh, and add the following codes at the starting.
(the website: https://blog.csdn.net/shang_jia/article/details/82929983 )
export CUDA_PATH=/usr/local/cuda/
export CXXFLAGS="-std=c++11"
export CFLAGS="-std=c99"

export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}}
export CPATH=/usr/local/cuda-8.0/include${CPATH:+:${CPATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

from yolo2-pytorch.

DNXie avatar DNXie commented on May 13, 2024 1

@songdejia After tried your method, the problem solved. However, it seems that I cannot import torch anymore.
Here is the error:
libgomp.so.1: version 'GOMP_4.0' not found

from yolo2-pytorch.

lxy598951 avatar lxy598951 commented on May 13, 2024

I met the same problem, and I don't know how to fix it!

from yolo2-pytorch.

elebebit avatar elebebit commented on May 13, 2024

I met the problem in other project. cffi.error.VerificationError: LinkError: command 'clang' failed with exit status 1

from yolo2-pytorch.

happyjin avatar happyjin commented on May 13, 2024

Do you guys has idea how to fix the error?

from yolo2-pytorch.

liketheflower avatar liketheflower commented on May 13, 2024

same problem. no solution yet

from yolo2-pytorch.

wahrheit-git avatar wahrheit-git commented on May 13, 2024

any solutions? i am facing same trouble

from yolo2-pytorch.

liketheflower avatar liketheflower commented on May 13, 2024

I was using the faster rcnn pytorch and got the same problem.
The suggested solution is: install anaconda instead of miniconda.
I haven't tried yet as my server got some problem. Will let you know if it works.

jwyang/faster-rcnn.pytorch#102

from yolo2-pytorch.

wtliao avatar wtliao commented on May 13, 2024

I have also encountered the same issue. After trying tons of the possible solutions, I fixed it this simple way: create a symbolic link to the cuda directory that you want to use (below is my example)
sudo ln -s /usr/local/cuda-8.0-cudnn-7 /usr/local/cuda
I guess it a bug in pytorch. It seems that pytorch only recognize the cuda path as /usr/local/cuda. Even through I obvisously define the cuda path in .bashrc file or the make.sh as /usr/local/cuda-8.0-cudnn-7, it does not work. It may help you.

from yolo2-pytorch.

CF2220160244 avatar CF2220160244 commented on May 13, 2024

your pytorch version is high,just downgrade your torch0.4.1 to 0.4.0

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