Wolfram Neural Net Repository
Immediate Computable Access to Neural Net Models
Generate a street map from a satellite photo
Number of layers: 56 | Parameter count: 54,419,459 | Trained size: 218 MB |
Get the pre-trained net:
In[1]:= | ![]() |
Out[1]= | ![]() |
Obtain a satellite photo:
In[2]:= | ![]() |
Out[2]= | ![]() |
Use the net to draw the street map:
In[3]:= | ![]() |
Out[3]= | ![]() |
Overlap photo and prediction:
In[4]:= | ![]() |
Out[4]= | ![]() |
Obtain the actual street map:
In[5]:= | ![]() |
Out[5]= | ![]() |
Compare the generated street map with the actual street map:
In[6]:= | ![]() |
Out[6]= | ![]() |
More complex patterns are harder to render. Obtain a new photo and street map pair:
In[7]:= | ![]() |
Out[7]= | ![]() |
Compare the prediction with the actual street map:
In[8]:= | ![]() |
Out[8]= | ![]() |
Inspect the number of parameters of all arrays in the net:
In[9]:= | ![]() |
Out[9]= | ![]() |
Obtain the total number of parameters:
In[10]:= | ![]() |
Out[10]= | ![]() |
Obtain the layer type counts:
In[11]:= | ![]() |
Out[11]= | ![]() |
Display the summary graphic:
In[12]:= | ![]() |
Out[12]= | ![]() |
Export the net into a format that can be opened in MXNet:
In[13]:= | ![]() |
Out[13]= | ![]() |
Export also creates a net.params file containing parameters:
In[14]:= | ![]() |
Out[14]= | ![]() |
Get the size of the parameter file:
In[15]:= | ![]() |
Out[15]= | ![]() |
The size is similar to the byte count of the resource object:
In[16]:= | ![]() |
Out[16]= | ![]() |
Represent the MXNet net as a graph:
In[17]:= | ![]() |
Out[17]= | ![]() |
Wolfram Language 11.2 (September 2017) or above