Place365GoogLeNet is a pretrained model that has been trained on the Places365 data set and has the same underlying network architecture as GoogLeNet that was trained on the ImageNet data set. You can read in the network using
net = googlenet
net = googlenet('Weights',weights)
net = googlenet('Weights',weights) returns a GoogLeNet network trained on either the ImageNet or Places365 data set.
If weights equals 'imagenet', then the network has weights trained on the ImageNet data set. If weights equals 'places365' then the network has weights trained on the Places365 data set.
Opening the place365googlenet.mlpkginstall file from your operating system or from within MATLAB will initiate the installation process for the release you have.
This mlpkginstall file is functional for R2019a and beyond.
You read the network
net = googlenet('Weights','places365');
im = imread('test.jpg');
sz = net.Layers(1).InputSize;
im = imresize(im,[sz(1) sz(2)]);
label = classify(net, im)
% Show the image and the classification results
Please visit the documentation page to learn more: https://www.mathworks.com/help/deeplearning/ref/googlenet.html
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!