Wolfram Neural Net Repository
Immediate Computable Access to Neural Net Models
Identify the main object in an image
Released in 2015 by Microsoft Research Asia, the ResNet architecture (with its three realizations ResNet-50, ResNet-101 and ResNet-152) obtained very successful results in the ImageNet and MS-COCO competition. The core idea exploited in these models, residual connections, is found to greatly improve gradient flow, thus allowing training of much deeper models with tens or even hundreds of layers. ImageNet classes are mapped to Wolfram Language Entities through their unique WordNet IDs.
Number of layers: 517 | Parameter count: 60,344,232 | Trained size: 244 MB |
This model achieves 77% top-1 and 93.3% top-5 accuracy in 1-crop validation, and 78.6% top-1 and 94.3% top-5 accuracy in 10-crop validation on the ImageNet Large Scale Visual Recognition Challenge 2012 dataset.
Get the pre-trained net:
| In[1]:= |
The prediction is an Entity:
| In[4]:= | ![]() |
An object outside the list of the ImageNet classes will be misidentified:
| In[6]:= | ![]() |
| Out[7]= |
| Out[8]= | ![]() |
Extract the weights of the first convolutional layer in the trained net:
| In[11]:= |
Visualize the weights as a list of 64 images of size 7x7:
| In[12]:= | ![]() |
Remove the linear layer from the pre-trained net:
Wolfram Language 11.2 (September 2017) or above