Comments (7)
I see two main issues:
-
"/content/Open-GroundingDino/models/GroundingDINO/ms_deform_attn.py:31: UserWarning: Failed to load custom C++ ops. Running on CPU mode Only!
warnings.warn("Failed to load custom C++ ops. Running on CPU mode Only!")" -
"NameError: name '_C' is not defined" which is possibly related to a cuda issue per the official grounding dino github
from open-groundingdino.
I see two main issues:
- "/content/Open-GroundingDino/models/GroundingDINO/ms_deform_attn.py:31: UserWarning: Failed to load custom C++ ops. Running on CPU mode Only!
warnings.warn("Failed to load custom C++ ops. Running on CPU mode Only!")"- "NameError: name '_C' is not defined" which is possibly related to a cuda issue per the official grounding dino github
Hi, @nicholasprimiano
- I think this may be caused by the CUDA operator not being compiled correctly.
- Is it possible to compile the operator before executing it in colab?
- #7
from open-groundingdino.
This PR fixed this issue
from open-groundingdino.
For the following problems:
1. UserWarning: Failed to load custom C++ ops. Running on CPU mode Only!
2."NameError: name '_C' is not defined"
I solved this by installing groundingdino-0.1.0 via the official code for Grounding-DINO.
I found that "ms_deform_attn.py" contains "from groundingdino import_C ", but groundingdino is not installed.
from open-groundingdino.
I found that "ms_deform_attn.py" contains "from groundingdino import_C ", but groundingdino is not installed.
This PR fixed your issue #10 by change
"from groundingdino import_C " to "import MultiScaleDeformableAttention as _C"
from open-groundingdino.
I found that "ms_deform_attn.py" contains "from groundingdino import_C ", but groundingdino is not installed.
This PR fixed your issue #10 by change "from groundingdino import_C " to "import MultiScaleDeformableAttention as _C"
Oops, you updated the code of "ms_deform_attn.py", I still use the previous version.
from open-groundingdino.
@lanhas aha, please check the latest code, most of the bugs have been fixed
- models/GroundingDINO/ms_deform_attn.py: fixed ops error.
- models/GroundingDINO/ops/test.py: do not test for large channles
- main.py: add args to make eval not required training dataset
- requirements.txt: update version
- test_dist.sh: add test with torch.distributed.launch
- README.md: update spec and slurm/dist usage
from open-groundingdino.
Related Issues (20)
- Referring expression comprehension TASK?
- Issue in Setup of the code
- Inference device problem
- 训练过程中有关bbox的报错
- is bbox annotation required?
- 在object365数据集上训练处理text prompt 太长的问题 HOT 2
- BERT HOT 1
- 我应该怎么训练自己的数据集 HOT 1
- 如何从头开始预训练模型 HOT 1
- 碰到一个非常头疼的问题,根据odvg的数据集格式自制了一个数据集,一万多张图,配置好了可以进行训练,但是训练过程中一直没有精度,特别低总是0.00几,跑了几十个epoch也是这样,谁有碰到类似的情况吗?球球了,帮帮忙,跪谢跪谢! HOT 3
- I need to share multiple GPUs on a server with my colleagues, so how do I specify which GPUs to use for training when I am using them? HOT 1
- torch.cuda.OutOfMemoryError: CUDA out of memory
- I try to get AP per class. And I have 14 categories, Why does it output only 12 category AP? HOT 1
- VG数据集格式 HOT 1
- 模型训练结果后标签识别错误
- Training models on custom data sets, some questions!
- 验证部分的代码是不是有问题?我的验证集mAP全部显示为-1 HOT 2
- CUDA out of memory in the middle of fine tuning
- 请问如何finetune一个自定义的类别,需要修改哪些配置?
- Best boundingbox in output (by order or by confidence)
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 open-groundingdino.