Giter Club home page Giter Club logo

Comments (5)

Real-YeJ avatar Real-YeJ commented on July 28, 2024

@dhirajsuvarna
When you compile TextFuseNet(or detectron2), it's necessary to compile with cuda and make sure your cuda and pytorch match.

from textfusenet.

dhirajsuvarna avatar dhirajsuvarna commented on July 28, 2024

@Real-YeJ ,
I did some searching into this error and it seems that CUDA_HOME env variable is not set.

When you say compile with cuda do I need to do anything other than the steps mentioned in step-by-step installation.txt?
I guess this conda install pytorch=1.3.1 torchvision cudatoolkit=10.1 -c pytorch installs the required cuda toolkit.

Is any other separate installation of cuda is required? or do I need to pass any compile time parameters? or any other steps that needs to be taken?

from textfusenet.

Real-YeJ avatar Real-YeJ commented on July 28, 2024

@dhirajsuvarna don't need other additional steps,just make sure your cuda version is match with pytorch version. more details facebookresearch/detectron2#55

from textfusenet.

dhirajsuvarna avatar dhirajsuvarna commented on July 28, 2024

Here are the versions of the the packages installed. Those seem to be in sync.

image

image

I manually added CUDA_HOME into my env point it to the folder shown below

image

sadly still facing the error.

Do you think my CUDA_HOME is pointing to the correct location? or should it be pointing to one of the three folders inside?
image

from textfusenet.

Real-YeJ avatar Real-YeJ commented on July 28, 2024

@dhirajsuvarna check the version of your cuda, and I suggest that compile on linux instead of windows.

from textfusenet.

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.