Comments (8)
Hello, I was wondering what's your GCC version.
I can not actually tell what's the detailed error in your env, if your GCC version is too high (like 10.0+), it may not work with detectron2 I guess.
from detrex.
oh ok, that's most likely the issue, my gcc version is 13.1. Thank you for quick response. I will try to solve this somehow
from detrex.
oh ok, that's most likely the issue, my gcc version is 13.1. Thank you for quick response. I will try to solve this somehow
You can try GCC 9.4 or lower I guess.
from detrex.
oh ok, that's most likely the issue, my gcc version is 13.1. Thank you for quick response. I will try to solve this somehow
You can try GCC 9.4 or lower I guess.
That's what I am trying to do, although ton of issues given that I am just starting with Linux and stuff. Apparently, you can not just downgrade these files as nearly the whole system depends on them. But thanks for your help! I wish there was a docker file available for this awesome repo!
from detrex.
Thanks a lot for reporting this situation, we will try to update a Docker file for detrex for better usage
from detrex.
managed to run DINO. After all, I decided to install Ubuntu 18.04 instead of Debian 11. Given that Ubuntu is older distribution all gcc and g++ were maxed out at 9.3 therefore compatible with the Deformable Attention implementation. Together with Nvidia toolkit 11.6 and the appropriate torch version everything went without a single issue.
edit:
sudo apt install g++-9 gcc-9
for RTX 3090:
https://developer.nvidia.com/cuda-11-6-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=WSL-Ubuntu&target_version=2.0&target_type=deb_local
pip install torch==1.13.0+cu116 torchvision==0.14.0+cu116 torchaudio==0.13.0 --extra-index-url https://download.pytorch.org/whl/cu116
from detrex.
managed to run DINO. After all, I decided to install Ubuntu 18.04 instead of Debian 11. Given that Ubuntu is older distribution all gcc and g++ were maxed out at 9.3 therefore compatible with the Deformable Attention implementation. Together with Nvidia toolkit 11.6 and the appropriate torch version everything went without a single issue.
edit: sudo apt install g++-9 gcc-9 for RTX 3090: https://developer.nvidia.com/cuda-11-6-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=WSL-Ubuntu&target_version=2.0&target_type=deb_local
pip install torch==1.13.0+cu116 torchvision==0.14.0+cu116 torchaudio==0.13.0 --extra-index-url https://download.pytorch.org/whl/cu116
Thanks for your nice advice, we will add it to docs to help others who have met the same issue.
from detrex.
This issue still persists for newer GCC versions, please try to solve them asap.
from detrex.
Related Issues (20)
- Install issue HOT 7
- Visualize the output HOT 4
- ema error HOT 1
- GPU memory requirements increases when using DCNv3_pytorch rather than DCNv3 HOT 2
- Memory leak during DINO training. HOT 1
- Why is the optimal result different each time during training? HOT 4
- Adding pre-trained models HOT 3
- A issues about slurm and hydra HOT 3
- 找不到相关配置文件 HOT 10
- 训练问题
- 请问训练的参数在哪个文件 HOT 1
- 关于训练轮次问题 HOT 34
- Is there a plan to support rt-detr? HOT 1
- 关于mixed_selection的问题 HOT 3
- The H deformable detr code may have some problems ! HOT 3
- does the detrex support sahi? HOT 1
- DINO Training with Swin-small HOT 3
- 推理图片框框很大
- 推理的图片类别序号如何改成类别名 HOT 1
- 关于two-stage topk_proposals的问题
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 detrex.