DINO inference on a CPU only machine fails
See original GitHub issueHi,
Always end up with this common error Cannot import detrex._C', therefore 'MultiScaleDeformableAttention' is not available.
Inference script with train.device and model.device = "cpu" works but it still requires a Cuda dependent/enabled machine.
Is there a way to bypass this? Is there a way to deploy/run DINO on a CPU only machine/docker?
Many thanks!
Issue Analytics
- State:
- Created 10 months ago
- Comments:9
Top Results From Across the Web
Frequently Asked Questions · Issue #109 - GitHub
Meet error when training DINO, Cannot import 'detrex. ... DINO inference on a CPU only machine fails #157.
Read more >Common errors | DINO CPU Assignments - GitHub Pages
If you see the following error, it is likely because you ran out of disk space on the CSIF machine. FATAL: container creation...
Read more >Facebook AI's DINO | PyTorch Code Explained - YouTube
JOIN OUR DISCORD COMMUNITY:Discord ▻ https://discord.gg/peBrCpheKE SUBSCRIBE TO MY MONTHLY AI NEWSLETTER:Substack ...
Read more >AWS Sagemaker inference endpoint not utilizing all vCPUs
I have deployed a custom model on sagemaker inference endpoint (single instance) and while I was load testing, I have observed that CPU...
Read more >You never get bored playing with Computer Vision
And if you wish you can make your machine to play a game. ... In my case I'm looking for only 1 Dino,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just delete the following lines, and set
train.device = "cpu" model.device = train.device. It works for me.Ok, I’ve totally understand your problem, we will check this problem later