Deep learning with CPU much lower accuracy than GPU?
Show older comments
Hi everyone,
I've been wracking my brain for the past several days trying to understand why training my CNN on a CPU yields much lower accuracy than on a GPU. Then, I realized that implementing the MATLAB example (https://www.mathworks.com/help/vision/ug/semantic-segmentation-using-dilated-convolutions.html) with the MATLAB command also performs much worse when trained on a CPU vs GPU. What's going on here?
Here are some screenshots of the results on my system:


Thanks!
3 Comments
Adam
on 20 Jan 2020
You haven't given many details. Are you training for the same number of epochs/iterations in both cases?
Sabina Stefan
on 20 Jan 2020
Adam
on 21 Jan 2020
I just ran both on that example and got slightly higher accuracy with GPU than CPU, but given randomness not enough to conclude it is generally better, but certainly enough to conclude that CPU wasn't strictly better than GPU. You on;y posted one set of results above. which were they and what did the other look like?
Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!