This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Layer name mismatch in mxnet pretrained model's .json and weights. #19648
Unanswered
gauravsharma-97
asked this question in
Q&A
Replies: 1 comment
-
You need to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Objective:
Trying to convert the "i3d-resnet50-v1-kinetics400" pretrained mxnet model to caffe.
System used: Ubuntu 18.04, Python3
Problem:
While trying to load weights after converting the .json to caffe model, I saw that the names for layers in .json and .params files do not match. They can be viewed below.
Objective:
Trying to convert the "i3d-resnet50-v1-kinetics400" pretrained mxnet model to caffe.
System used: Ubuntu 18.04, Python3
Problem:
While trying to load weights after converting the .json to caffe model, I saw that the names for layers in .json and .params files do not match. They can be viewed below.
Eg. First layer names in .json and .params are conv0_weight and first_stage.0.weight respectively.
I do not understand why this happened since the parameters and json are taken from same model.
Can anyone suggest how to handle this except checking all the layers names manually?
Steps followed:
Beta Was this translation helpful? Give feedback.
All reactions