RuntimeError: Found no NVIDIA driver
See original GitHub issueHi,
i tried python demo.py --source data/example.jpg
but i ran into following error:
File "/home/yiwei/dev_ws_ml/src/YOLOPv2/demo.py", line 50, in detect
model = torch.jit.load(weights)
File "/home/yiwei/miniconda3/envs/YOLOPv2/lib/python3.8/site-packages/torch/jit/_serialization.py", line 161, in load
cpp_module = torch._C.import_ir_module(cu, f, map_location, _extra_files)
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
i only want to try this example image with my cpu and i do not have a GPU installed.
can anyone give me some help?
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
CUDA initialization: Found no NVIDIA driver on your system #39
Although I am able to install NVIDIA drivers I cannot use my NVIDIA gpu of my computer because I am running Ubuntu on...
Read more >Why does PyTorch not find my NVDIA drivers for CUDA support?
cuda() I get the error: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a...
Read more >Linux, CUDA, PyTorch: "Found no NVIDIA driver on your system"
We have a Linux System with the following setup: NVIDIA driver version: 460.73.01 CUDA Version: 11.2 We have tried these images: ...
Read more >Install GPU drivers | Compute Engine Documentation
Installing GPU drivers on VMs that use Secure Boot. OS support. Verifying the GPU driver install; What's next? Linux Windows ... No running...
Read more >AssertionError: Found no NVIDIA driver on your system. - Kaggle
Hello ! I'm working on a mask rcnn with pytorch. But when i want to train the model, i get the following error...
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 FreeTop 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
Top GitHub Comments
@sgzqc Hi, Thanks for replying! That really helped.
With this
torch.jit.load(weights, map_location='cpu')
it works fine.And i also changed the default --device to “cpu”
the output still warns me, but delivers the result.
Maybe you can try this:
torch.jit.load(buffer, map_location='cpu')