Comments (11)
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.
For anyone else facing this issue, try downgrading your packages
pip install torch==1.4.0
pip install torchvision==0.5.0
from yolact.
I'm having the exactly same issue!
from yolact.
Did you solved this issue?
from yolact.
unfortunately not ;(
from yolact.
i encountered the same issue, how did u solve it
from yolact.
still not resolved?
from yolact.
same issue
from yolact.
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.
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.
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:
And the error 'command '/usr/local/cuda/bin/nvcc' failed with exit code 1' continues
Did anyone solve it?
from yolact.
Related Issues (20)
- IndexError HOT 1
- Error in masks = masks.reshape(-1, height, width) #687
- The model can't detect gun? HOT 1
- Strange MAP value HOT 2
- Hyperparameter tuning
- AP输出
- Loss curve
- Just wonder how this project make the results sync while using thread pool
- How to change the network
- How to draw a specific shape on the screen while recognizing a specific object?
- epoch
- How to pick the best epoch? HOT 1
- KeyError 2156740059
- small-, medium-, large-mAP definition?
- Question on DCN implementation
- mAP and AR: definition of small medium large ? HOT 2
- Handling negative images or images with no object of interest
- After entering the verification command, do not display the verified image
- After entering the verification command, do not display the verified image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolact.