You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that in ./tools/train_net.py, although you have variable device_name to get gpu id from command line, you do not actually use it. That means this model can only be trained on the default gpu?
I am not familiar with Tensorflow. So I wonder how I can specify which gpu to use, or even use cpu.
The text was updated successfully, but these errors were encountered:
This code uses GPU:0 as default.
To specify which GPU to use you can modify the code or hide some GPUs to tensorflow.
The easiest way is to hide GPUs with environment variable CUDA_VISIBLE_DEVICES
(e.g. if you want to run code on GPU:1 then run "export CUDA_VISIBLE_DEVICE=1" before you run Faster-RCNN code)
I noticed that in ./tools/train_net.py, although you have variable device_name to get gpu id from command line, you do not actually use it. That means this model can only be trained on the default gpu?
I am not familiar with Tensorflow. So I wonder how I can specify which gpu to use, or even use cpu.
The text was updated successfully, but these errors were encountered: