www.mathworks.com
Open in
urlscan Pro
2.17.179.243
Public Scan
URL:
https://www.mathworks.com/help/deeplearning/ref/googlenet.html
Submission: On March 21 via manual — Scanned from DE
Submission: On March 21 via manual — Scanned from DE
Form analysis
2 forms found in the DOMGET /support/search.html
<form id="docsearch_form" action="/support/search.html" method="get" accept-charset="utf-8" data-release="R2023a" data-language="en">
<div class="input-group">
<label class="sr-only">Search Help Center</label>
<input id="suggestion" type="hidden" name="suggestion" value="">
<span role="status" aria-live="polite" class="ui-helper-hidden-accessible"></span>
<input id="docsearch" class="form-control conjoined_search" type="search" name="q" placeholder="Search Help Center" autocomplete="off">
<div class="input-group-btn">
<button type="button" class="btn btn_search_adjacent dropdown-toggle" data-toggle="dropdown"><span class="caret"></span><span class="search_scope_label">Help Center</span></button>
<ul class="dropdown-menu list-unstyled dropdown-menu-right" role="menu">
<!--<li data-toggle="collapse" data-target="#search_scope_support"><a href="#">Support</a></li>-->
<li data-toggle="collapse" data-target="#search_scope_site" class="support_search_scope_trigger"><a href="#">MathWorks</a></li>
</ul>
<script>
$(".support_search_scope_trigger").click(function() {
$("#search_scope_support").removeClass("in");
$("#query").val($("#search").val());
});
</script>
<button type="submit" name="submitsearch" id="support_submitsearch" class="btn icon-search btn_search_adjacent btn_search icon_16"></button>
</div>
</div>
</form>
Name: search — GET /search/site_search.html
<form name="search" id="site_search" class="site_search" action="/search/site_search.html" method="get">
<div class="input-group">
<label class="sr-only">Search MathWorks.com</label>
<input type="hidden" name="c[]" value="entire_site">
<input type="search" name="q" id="query" class="form-control conjoined_search" placeholder="Search MathWorks.com" autocomplete="off">
<div class="input-group-btn">
<button type="button" class="btn btn_search_adjacent dropdown-toggle" data-toggle="dropdown"><span class="caret"></span><span class="search_scope_label">MathWorks</span></button>
<ul class="dropdown-menu list-unstyled dropdown-menu-right" role="menu">
<li data-toggle="collapse" data-target="#search_scope_support" class="site_search_scope_trigger"><a href="#">Help Center</a></li>
</ul>
<script>
$(".site_search_scope_trigger").click(function() {
$("#search_scope_site").removeClass("in");
$("#search").val($("#query").val());
});
</script>
<button type="submit" id="searchbutton" class="btn icon-search btn_search_adjacent btn_search icon_16"></button>
</div>
</div>
</form>
Text Content
WE VALUE YOUR PRIVACY We and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised ads and content, ad and content measurement, and audience insights, as well as to develop and improve products. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our partners’ processing as described above. Alternatively you may access more detailed information and change your preferences before consenting or to refuse consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. Your preferences will apply to this website only. You can change your preferences at any time by returning to this site or visit our privacy policy. MORE OPTIONSAGREE Skip to content Toggle Main Navigation * Sign In to Your MathWorks AccountSign In to Your MathWorks Account * Products * Solutions * Academia * Support * Community * Events * Get MATLAB MATHWORKS MATRIX MENU * MATLAB * Help Center * MathWorks * MATLAB Answers * File Exchange * Videos * Online Training * Blogs * Cody * MATLAB Drive * ThingSpeak * Bug Reports * Community * Products * Solutions * Academia * Support * Community * Events * Get MATLAB * Sign In to Your MathWorks AccountSign In to Your MathWorks Account * MATHWORKS MATRIX MENU * MATLAB * Help Center * MathWorks * MATLAB Answers * File Exchange * Videos * Online Training * Blogs * Cody * MATLAB Drive * ThingSpeak * Bug Reports * Community Help CenterHelp Center Search Help Center Help Center * MathWorks Search MathWorks.com MathWorks * Help Center Close Mobile Search Open Mobile Search Off-Canvas Navigation Menu Toggle * Documentation Home * AI, Data Science, and Statistics * Deep Learning Toolbox * Deep Learning Fundamentals * Import Deep Neural Networks * Built-In Pretrained Networks * Deep Learning Toolbox * Image Data Workflows * Pretrained Networks * googlenet * On this page * Syntax * Description * Examples * Download GoogLeNet Support Package * Input Arguments * weights * Output Arguments * net * lgraph * References * Extended Capabilities * Version History * See Also * Documentation * Examples * Functions * Blocks * Apps * Videos * Answers * Trial Software * Trial Software * Product Updates * Product Updates Resources * Documentation * Examples * Functions * Blocks * Apps * Videos * Answers Main Content GOOGLENET GoogLeNet convolutional neural network collapse all in page * × SYNTAX net = googlenet net = googlenet('Weights',weights) lgraph = googlenet('Weights','none') DESCRIPTION GoogLeNet is a convolutional neural network that is 22 layers deep. You can load a pretrained version of the network trained on either the ImageNet [1] or Places365 [2] [3] data sets. The network trained on ImageNet classifies images into 1000 object categories, such as keyboard, mouse, pencil, and many animals. The network trained on Places365 is similar to the network trained on ImageNet, but classifies images into 365 different place categories, such as field, park, runway, and lobby. These networks have learned different feature representations for a wide range of images. The pretrained networks both have an image input size of 224-by-224. For more pretrained networks in MATLAB®, see Pretrained Deep Neural Networks. To classify new images using GoogLeNet, use classify. For an example, see Classify Image Using GoogLeNet. You can retrain a GoogLeNet network to perform a new task using transfer learning. When performing transfer learning, the most common approach is to use networks pretrained on the ImageNet data set. If the new task is similar to classifying scenes, then using the network trained on Places-365 can give higher accuracies. For an example showing how to retrain GoogLeNet on a new classification task, see Train Deep Learning Network to Classify New Images example net = googlenet returns a GoogLeNet network trained on the ImageNet data set. This function requires the Deep Learning Toolbox™ Model for GoogLeNet Network support package. If this support package is not installed, then the function provides a download link. net = googlenet('Weights',weights) returns a GoogLeNet network trained on either the ImageNet or Places365 data set. The syntax googlenet('Weights','imagenet') (default) is equivalent to googlenet. The network trained on ImageNet requires the Deep Learning Toolbox Model for GoogLeNet Network support package. The network trained on Places365 requires the Deep Learning Toolbox Model for Places365-GoogLeNet Network support package. If the required support package is not installed, then the function provides a download link. lgraph = googlenet('Weights','none') returns the untrained GoogLeNet network architecture. The untrained model does not require the support package. EXAMPLES collapse all DOWNLOAD GOOGLENET SUPPORT PACKAGE Download and install the Deep Learning Toolbox Model for GoogLeNet Network support package. Type googlenet at the command line. googlenet If the Deep Learning Toolbox Model for GoogLeNet Network support package is not installed, then the function provides a link to the required support package in the Add-On Explorer. To install the support package, click the link, and then click Install. Check that the installation is successful by typing googlenet at the command line. If the required support package is installed, then the function returns a DAGNetwork object. googlenet ans = DAGNetwork with properties: Layers: [144×1 nnet.cnn.layer.Layer] Connections: [170×2 table] Visualize the network using Deep Network Designer. deepNetworkDesigner(googlenet) Explore other pretrained neural networks in Deep Network Designer by clicking New. If you need to download a neural network, pause on the desired neural network and click Install to open the Add-On Explorer. INPUT ARGUMENTS collapse all WEIGHTS — SOURCE OF NETWORK PARAMETERS 'IMAGENET' (DEFAULT) | 'PLACES365' | 'NONE' Source of network parameters, specified as 'imagenet' ,'places365', or 'none'. * 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. * If weights equals 'none', then the untrained network architecture is returned. Example: 'places365' OUTPUT ARGUMENTS collapse all NET — PRETRAINED GOOGLENET CONVOLUTIONAL NEURAL NETWORK DAGNETWORK OBJECT Pretrained GoogLeNet convolutional neural network, returned as a DAGNetwork object. LGRAPH — UNTRAINED GOOGLENET CONVOLUTIONAL NEURAL NETWORK ARCHITECTURE LAYERGRAPH OBJECT Untrained GoogLeNet convolutional neural network architecture, returned as a LayerGraph object. REFERENCES [1] ImageNet. http://www.image-net.org [2] Zhou, Bolei, Aditya Khosla, Agata Lapedriza, Antonio Torralba, and Aude Oliva. "Places: An image database for deep scene understanding." arXiv preprint arXiv:1610.02055 (2016). [3] Places. http://places2.csail.mit.edu/ [4] Szegedy, Christian, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. "Going deeper with convolutions." In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1-9. 2015. [5] BVLC GoogLeNet Model. https://github.com/BVLC/caffe/tree/master/models/bvlc_googlenet EXTENDED CAPABILITIES C/C++ CODE GENERATION GENERATE C AND C++ CODE USING MATLAB® CODER™. For code generation, you can load the network by using the syntax net = googlenet or by passing the googlenet function to coder.loadDeepLearningNetwork (MATLAB Coder). For example: net = coder.loadDeepLearningNetwork('googlenet') For more information, see Load Pretrained Networks for Code Generation (MATLAB Coder). The syntax googlenet('Weights','none') is not supported for code generation. GPU CODE GENERATION GENERATE CUDA® CODE FOR NVIDIA® GPUS USING GPU CODER™. Usage notes and limitations: * For code generation, you can load the network by using the syntax net = googlenet or by passing the googlenet function to coder.loadDeepLearningNetwork (GPU Coder). For example: net = coder.loadDeepLearningNetwork('googlenet'). For more information, see Load Pretrained Networks for Code Generation (GPU Coder). * The syntax googlenet('Weights','none') is not supported for GPU code generation. VERSION HISTORY Introduced in R2017b SEE ALSO Deep Network Designer | vgg16 | vgg19 | resnet18 | resnet50 | resnet101 | densenet201 | inceptionresnetv2 | squeezenet | trainNetwork | layerGraph | inceptionv3 | DAGNetwork TOPICS * Transfer Learning with Deep Network Designer * Classify Image Using GoogLeNet * Train Deep Learning Network to Classify New Images * Deep Learning in MATLAB * Pretrained Deep Neural Networks * Train Residual Network for Image Classification Thank you for your feedback! Why did you choose this rating? Submit How useful was this information? Unrated 1 star 2 stars 3 stars 4 stars 5 stars × MATLAB COMMAND You clicked a link that corresponds to this MATLAB command: Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands. Close × SELECT A WEB SITE Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: Deutschland. Deutschland * Switzerland (English) * Switzerland (Deutsch) * Switzerland (Français) * 中国 (简体中文) * 中国 (English) You can also select a web site from the following list: HOW TO GET BEST SITE PERFORMANCE Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location. AMERICAS * América Latina (Español) * Canada (English) * United States (English) EUROPE * Belgium (English) * Denmark (English) * Deutschland (Deutsch) * España (Español) * Finland (English) * France (Français) * Ireland (English) * Italia (Italiano) * Luxembourg (English) * Netherlands (English) * Norway (English) * Österreich (Deutsch) * Portugal (English) * Sweden (English) * Switzerland * Deutsch * English * Français * United Kingdom (English) ASIA PACIFIC * Australia (English) * India (English) * New Zealand (English) * 中国 * 简体中文 * English * 日本 (日本語) * 한국 (한국어) Contact your local office * Trial Software * Trial Software * Product Updates * Product Updates MathWorks Accelerating the pace of engineering and science MathWorks is the leading developer of mathematical computing software for engineers and scientists. Discover... Explore Products * MATLAB * Simulink * Student Software * Hardware Support * File Exchange Try or Buy * Downloads * Trial Software * Contact Sales * Pricing and Licensing * How to Buy Learn to Use * Documentation * Tutorials * Examples * Videos and Webinars * Training Get Support * Installation Help * Answers * Consulting * License Center * Contact Support About MathWorks * Careers * Newsroom * Social Mission * Customer Stories * About MathWorks * United States * Trust Center * Trademarks * Privacy Policy * Preventing Piracy * Application Status © 1994-2023 The MathWorks, Inc. * * * * * * Join the conversation