How can I install a MATLAB Toolbox from the command line without a GUI?
37 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Pablo Meseguer Esbri
el 7 de Jun. de 2021
Comentada: Sandeep Mishra
el 20 de Jun. de 2022
I need to install the Deep Learning Toolbox Model for VGG-16 Network from the command line because I don't have a GUI. Anyone can help? Thanks in advance.
0 comentarios
Respuesta aceptada
David Willingham
el 7 de Jun. de 2021
Hi Pablo,
There are 2 ways which you could get VGG-16 from the command line:
Approach1: This approach will get you the network, but not all of the support package. It won't show up as a preinstalled model in Deep Network designed, but you can load it manually:
To get the network, run this code in MATLAB:
vgg19_18a_tar_gz = matlab.internal.examples.downloadSupportFile( "nnet", "/data/vgg19_18a.tar.gz" )
vgg19_18a_tar = gunzip(vgg19_18a_tar_gz)
vgg19_18a = untar(vgg19_18a_tar{1})
load vgg19
deepNetworkDesigner(vgg19)
Approach2: Offline down the support package and transfer to a target machine: https://www.mathworks.com/matlabcentral/answers/293235-how-do-i-download-and-install-a-support-package-on-an-offline-machine
I hope this helps,
David
2 comentarios
Sandeep Mishra
el 20 de Jun. de 2022
Hi David, how to access such a central repository so that I can download any other pre-trained network? I would like to use the pre-trrained resnet50 but just replacing it in the above command didn't work.
Más respuestas (0)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!