How can I use the example Transfer Learning Using Alexnet with Vgg16?
Show older comments
I tried to use 'Transfer Learning Using AlexNet' with Vgg16 but it failed to start the Training iterations. How can I use this example with Vgg16?
[netTransfer, info] = trainNetwork(augimdsTrain,layers,options);
Error using trainNetwork (line 150) GPU out of memory. Try reducing 'MiniBatchSize' using the trainingOptions function.
*Error in TL_CM_V3_Test_IM_VGG16 (line 68) [netTransfer, info] = trainNetwork(augimdsTrain,layers,options);
Caused by: Error using .* 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)'.*
My gpu is CUDADevice with properties:
Name: 'GeForce 930MX'
Index: 1
ComputeCapability: '5.0'
Accepted Answer
More Answers (1)
xu lu
on 4 Jan 2019
0 votes
I have tried many times but failed to install Vgg16 successfully. The installation always stops when the download reaches 18%.Can you help me?
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!