# Implementing Resnet as a NetGraph?

Does anyone know of a Mathematica v11.1 implementation for any of the Resnets, e.g. a NetModel or WLNet for Resnet-1000?

Loading the MXNet weights from the model zoo for both resnet or resnext doesn't work since layer type elemwise_add is not supported:

• There is pretrain MXNet weight available for Resnet in the MXNet model zoo. Maybe you can load them into Mathematica. By the way, I'm interested in what work do you do with Resnet? I'm guessing that it is very slow to evaluate. – xslittlegrass Mar 17 '17 at 20:18
• The reason I ask for an implementation is because the import failed. @xslittlegrass – M.R. Mar 17 '17 at 20:23

I've fixed the importer for the next update. In the meantime, here's the ResNet-18 model as a WLNet file. It has an image encoder and class decoder attached: https://drive.google.com/file/d/0B2dQMmlwPBAnQWZlXzFCT204MUU/view?usp=sharing.

Here's the corresponding import code:

syns = Import["~/Downloads/Nets/ResNet/synset.txt", "Lines"];

model = ImportMXNetModel[