Deep learning with CPU much lower accuracy than GPU?

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:
Screen Shot 2020-01-20 at 11.05.39 AM.png
Screen Shot 2020-01-20 at 11.05.21 AM.png
Thanks!

3 commentaires

Adam
Adam le 20 Jan 2020
You haven't given many details. Are you training for the same number of epochs/iterations in both cases?
Yes! I ran the example exactly as it is without changing any parameters (same for my own data).
Adam
Adam le 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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Tags

Commenté :

le 21 Jan 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by