"Object Detection Using Deep Learning" toturial doesn't use GPU
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
When i get to the "Train CNN Using CIFAR-10 Data" chapter, it starts to train the CNN, to accelerate the training it uses my GPU (an Nvidia Quadro M2200) and it works fine.
In one of the next chapters "Train R-CNN Stop Sign Detector" i have to retrain the network using new data. For retraining you can also use the GPU to accelerate the process, however when i run the code to retrain it says that it uses my GPU but using the task manager 'preformance' tab (in Windows 10) i can clearly see it doesn't and it retrains only using the cpu (which takes a lot longer).
My question is, why doesn't it use my GPU and how can i change it to use my GPU?
ps. my GPU supports CUDA version 5.2.
2 Kommentare
Joss Knight
am 1 Jan. 2019
Bearbeitet: Joss Knight
am 1 Jan. 2019
I'm speculating, but R-CNN also does a lot of stuff on the CPU, processing candidate regions of interest. It's possible that you're expecting the GPU to be being used continuously while in fact the GPU computation of weight gradients is not the most compute-intensive part in terms of wall-clock time. What exactly are you looking at that makes you think the GPU isn't being used at all? Have you tried forcing training to happen on the CPU (using training option 'ExecutionEnvironment', 'cpu') to see whether there is any difference in training time?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Parallel and Cloud finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!