GPU memory usage using Matlab deep learning

11 visualizaciones (últimos 30 días)
Amirreza Mahbod
Amirreza Mahbod el 12 de Dic. de 2017
Comentada: Amirreza Mahbod el 20 de Dic. de 2017
Hi, I am using Matlab for fine tuning pre-trained CNN. The code works without any problems. However, when I monitor my GPU memory usage lively (using both GPU-Z and nvidia-smi in command line), I notice it varies between 4-7 GB. My GPU memory is 8 GB (GTX1070). Have any idea what is the reason behind that? The total running time is around 30 minutes for my code. I also observe much less running time on Ubuntu operation system when I tried to run the similar code on Keras.

Respuestas (1)

Joss Knight
Joss Knight el 19 de Dic. de 2017
While you are training a network it needs a lot of working memory. The deeper the network, the more memory it needs. Which network are you training?
  1 comentario
Amirreza Mahbod
Amirreza Mahbod el 20 de Dic. de 2017
I am tying na d training different networks such as ResNet, VGG16 and GoogleNet

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by