mcnPyTorch
mcnPyTorch copied to clipboard
How to use the converted model ?
I converted PyTorch model to MatConvNet successfully, however I can't use it. Because the structure of the converted model is different from the pertained model in MatConvNet model zoo. Could you please tell me how to use the converted model?
Besides, the 354 line of import_pytorch.py might have a bug, I changed it from bool(module.bias) to bool(len(module.bias)), is that ok?
The pertained model provided by MatOnvNet official has a structure like this:
And the converted model is:
The additional params in the converted model are weights of the network, they locate in each layer of the pertained model as layers(1,i).weights. i is the layer number.