Deep learning with CPU much lower accuracy than GPU?

4 views (last 30 days)
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 Comments
Sabina Stefan
Sabina Stefan on 20 Jan 2020
Yes! I ran the example exactly as it is without changing any parameters (same for my own data).
Adam
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?

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!