Code Monkey home page Code Monkey logo

Comments (11)

Grace-yafei avatar Grace-yafei commented on July 18, 2024 2

For anyone else facing this issue, try downgrading your packages

pip install torch==1.4.0
pip install  torchvision==0.5.0 

It's useful for me! thank you very much!

from yolact.

timothyckl avatar timothyckl commented on July 18, 2024 1

For anyone else facing this issue, try downgrading your packages

pip install torch==1.4.0
pip install  torchvision==0.5.0 

from yolact.

murilogds avatar murilogds commented on July 18, 2024

I'm having the exactly same issue!

from yolact.

jjongdals avatar jjongdals commented on July 18, 2024

Did you solved this issue?

from yolact.

MatThHeuss avatar MatThHeuss commented on July 18, 2024

unfortunately not ;(

from yolact.

ShSi1001 avatar ShSi1001 commented on July 18, 2024

i encountered the same issue, how did u solve it

from yolact.

BismaMutiargo avatar BismaMutiargo commented on July 18, 2024

still not resolved?

from yolact.

nesi73 avatar nesi73 commented on July 18, 2024

same issue

from yolact.

xqh-code avatar xqh-code commented on July 18, 2024

I'm trying to run yolact++ on google colab, but I'm always getting the following error when trying to build DCNv2:

/content/yolact/external/DCNv2/src/cuda/dcn_v2_cuda.cu:7:10: fatal error: THC/THC.h: No such file or directory
    7 | #include <THC/THC.h>
      |          ^~~~~~~~~~~
compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1

I'm following these steps:

!git clone https://github.com/dbolya/yolact.git
!cd yolact
!pip install cython
!pip install opencv-python pillow pycocotools matplotlib
!pip install torchvision==0.12.0
!pip install torch==2.0.1
cd /content/yolact/external/DCNv2
!python setup.py build develop

I think it's a torch version mismatch.

from yolact.

nesi73 avatar nesi73 commented on July 18, 2024

I'm trying to run yolact++ on google colab, but I'm always getting the following error when trying to build DCNv2:

/content/yolact/external/DCNv2/src/cuda/dcn_v2_cuda.cu:7:10: fatal error: THC/THC.h: No such file or directory
    7 | #include <THC/THC.h>
      |          ^~~~~~~~~~~
compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1

I'm following these steps:

!git clone https://github.com/dbolya/yolact.git
!cd yolact
!pip install cython
!pip install opencv-python pillow pycocotools matplotlib
!pip install torchvision==0.12.0
!pip install torch==2.0.1
cd /content/yolact/external/DCNv2
!python setup.py build develop

I think it's a torch version mismatch.

torch version: 1.11.0+cu113
torchvision version: 0.12.0+cu113
python version: Python 3.7.13
In this case I have stable versions of torch and torchvision on my system, as mentioned in -> [(https://github.com/pytorch/vision#installation)]

from yolact.

letessarini avatar letessarini commented on July 18, 2024

For anyone else facing this issue, try downgrading your packages

pip install torch==1.4.0
pip install  torchvision==0.5.0 

I tried this and got this error:
Error

And the error 'command '/usr/local/cuda/bin/nvcc' failed with exit code 1' continues

Did anyone solve it?

from yolact.

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.