question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running without CUDA (CPU only)

See original GitHub issue

Hi,

I am just wondering if there is a way of running this model on a machine without a GPU? Running make attempts to find CUDA.

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:26 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
jwnsucommented, Mar 28, 2017

Current codes run fine on CPU, need to change NMS mode to CPU only.

On Tue, Mar 28, 2017 at 1:21 PM, Xinlei Chen notifications@github.com wrote:

you can install cuda without gpu. haven’t tried that though.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/endernewton/tf-faster-rcnn/issues/25#issuecomment-289892295, or mute the thread https://github.com/notifications/unsubscribe-auth/AAM4K-eGWG5K1k8TuAhbGaKNmLFFny0Uks5rqWu7gaJpZM4Mkvv3 .

3reactions
kgapostcommented, Nov 30, 2017

The nms_wrapper.py checks the model.config structure if USE_GPU_NMS flag is found. So, no need to change anything in nms_wrapper.py. Just set the flag in demo.py. Add the line cfg.USE_GPU_NMS =False after line 114 in demo.py. This worked for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to run a model in an application using gpu (without CUDA)
I am looking for a way to utilize a computer's gpu without using cuda (or any installable software). The reason for this is...
Read more >
How to tell PyTorch to not use the GPU? - Stack Overflow
Before running your code, run this shell command to tell torch that there are no GPUs: export CUDA_VISIBLE_DEVICES="". This will tell it to ......
Read more >
Start Locally - PyTorch
CUDA 11.7. ROCm 5.2. CPU. Run this Command: conda install pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch -c nvidia.
Read more >
Installation — MMDetection 2.2.1 documentation
The code can be built for CPU only environment (where CUDA isn't available). In CPU mode you can run the demo/webcam_demo.py for example....
Read more >
NVIDIA CUDA Installation Guide for Linux
Serial portions of applications are run on the CPU, and parallel portions are ... computation on the CPU and GPU without contention for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found