Why do I get an out-of-memory error while training a deep learning network?
I am trying to train a convolutional neural network using the Deep Learning Toolbox. When I run the "trainnet" function, I get the following error.
Error using nnet.internal.cnngpu.convolveForward2D
Out of memory on device. To view more detail about available memory on the GPU, use ‘gpuDevice()’. If the problem persists, reset the GPU by calling ‘gpuDevice(1)’.
Why do I receive this error, and how can I resolve it?I am trying to train a convolutional neural network using the Deep Learning Toolbox. When I run the "trainnet" function, I get the following error.
Error using nnet.internal.cnngpu.convolveForward2D
Out of memory on device. To view more detail about available memory on the GPU, use ‘gpuDevice()’. If the problem persists, reset the GPU by calling ‘gpuDevice(1)’.
Why do I receive this error, and how can I resolve it? I am trying to train a convolutional neural network using the Deep Learning Toolbox. When I run the "trainnet" function, I get the following error.
Error using nnet.internal.cnngpu.convolveForward2D
Out of memory on device. To view more detail about available memory on the GPU, use ‘gpuDevice()’. If the problem persists, reset the GPU by calling ‘gpuDevice(1)’.
Why do I receive this error, and how can I resolve it? gpu, error, cnn, trainnet MATLAB Answers — New Questions