Giter Site home page Giter Site logo

Comments (7)

Frank-Dz avatar Frank-Dz commented on August 16, 2024 8

See answer here:

https://stackoverflow.com/a/66044636/12838403

Here I put the final solution:

  • Step1: Run find
find /usr/local/ -name cublas_v2.h

And we find the path of the file:

/usr/local/cuda-10.2/targets/x86_64-linux/include/cublas_v2.h

  • Step2: export the path
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/local/cuda-10.2/targets/x86_64-linux/include/

OK! Problem solved.

export command can only work once. To make it a permanent change, you need to modify the ~/.bashrc:

vi ~/.bashrc

Add

CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/local/cuda-10.2/targets/x86_64-linux/include/

from centertrack.

xingyizhou avatar xingyizhou commented on August 16, 2024

It's likely a gcc version issue. GCC 5.4/ 7.5 is tested. Can you try these versions?

from centertrack.

xingyizhou avatar xingyizhou commented on August 16, 2024

Closing this for now. Feel free to reopen if you still have questions.

from centertrack.

sisrfeng avatar sisrfeng commented on August 16, 2024

Ubuntu 19.10
CUDA 10.1
torch==1.4.0

How to install pytorch 1.4? I can only find 1.5 and <1.2 on official site.

from centertrack.

Muhtasham avatar Muhtasham commented on August 16, 2024

How to install pytorch 1.4? I can only find 1.5 and <1.2 on official site.
pip install torch==1.4.0

from centertrack.

sisrfeng avatar sisrfeng commented on August 16, 2024

How to install pytorch 1.4? I can only find 1.5 and <1.2 on official site.
pip install torch==1.4.0

For pytorch 1.2:

CUDA 10.0

pip install torch===1.2.0 torchvision===0.4.0 -f https://download.pytorch.org/whl/torch_stable.html

CUDA 9.2

pip install torch==1.2.0+cu92 torchvision==0.4.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html

If I use pip install torch==1.4.0,
will the proper torchvision be installed?

from centertrack.

naveenss1995 avatar naveenss1995 commented on August 16, 2024

Hi I am getting same error . Ubuntu 18.04 , torch 1.4.0, cuda 10.1

from centertrack.

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.