Deep Learning ToolboxTM Model for Places365-GoogLeNet Network

Pretrained GoogLeNet network trained on Places365 data set for image classification

774 Downloads

Updated 15 Mar 2023

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

Syntax
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

Usage Example:

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
figure
imshow(im)
text(10,20,char(label),'Color','white')

Please visit the documentation page to learn more: https://www.mathworks.com/help/deeplearning/ref/googlenet.html

MATLAB Release Compatibility
Created with R2019a
Compatible with R2019a to R2023a
Platform Compatibility
Windows macOS Linux
Categories
Find more on Deep Learning Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!