MobileNet V1 Trained on ImageNet Competition Data

Identify the main object in an image

Released in 2017 by researchers at Google, these models were designed for mobile and embedded vision applications. Depthwise separable convolutions are used to build light and efficient networks.

Number of models: 16

Training Set Information

Performance

Examples

Resource retrieval

Get the pre-trained net:

In[1]:=
NetModel["MobileNet V1 Trained on ImageNet Competition Data"]
Out[1]=

Basic usage

Classify an image:

In[5]:=
(* Evaluate this cell to get the example input *) CloudGet["https://www.wolframcloud.com/obj/8f1cf22d-d8f5-43bc-9ded-4c73ca00d91a"]
Out[5]=

The prediction is an Entity object, which can be queried:

In[6]:=
pred["Definition"]
Out[6]=

Get a list of available properties of the predicted Entity:

In[7]:=
pred["Properties"]
Out[7]=

Obtain the probabilities of the 10 most likely entities predicted by the net:

In[8]:=
(* Evaluate this cell to get the example input *) CloudGet["https://www.wolframcloud.com/obj/e6f9b841-5d98-4472-93cc-e2e997821d65"]
Out[8]=

An object outside the list of the ImageNet classes will be misidentified:

In[9]:=
(* Evaluate this cell to get the example input *) CloudGet["https://www.wolframcloud.com/obj/87296fbf-0188-4036-a19e-65fcfbe5345f"]
Out[9]=

Obtain the list of names of all available classes:

In[10]:=
EntityValue[
 NetExtract[
   NetModel["MobileNet V1 Trained on ImageNet Competition Data"], "Output"][["Labels"]], "Name"]
Out[10]=

Requirements

Wolfram Language 12.2 (December 2020) or above

Resource History

Reference