MMdnn
MMdnn copied to clipboard
Error when using the converted pytorch model
I get the following error when processing data through pytorch model. Converted from mxnet to pytorch
NameError: global name '_KitModel__weights_dict' is not defined
Only when you could describe the problem clearly, other may help with the issue @kar1989 , please take your time to elaborate on the issue. THX!
Sorry please find detailed information as below, Environment: Ubuntu 16.06 Pytorch version: 1.0.1.post2 Original model in: Mxnet' Converted model to 'Pytorch'
When I try to evaluate my data through the model, I get this error. "NameError: global name '_KitModel__weights_dict' is not defined"
I loaded the model according to instruction given in https://github.com/Microsoft/MMdnn/blob/72529a9f6b17f7298eacb7b2a0dae6dc5b9ce408/mmdnn/conversion/pytorch/README.md
@kar1989 hi, would you please try mxnet to IR first before porting it to pytorch? I'm also new to mmdnn and sometimes need to modify the code to meet the needs as different versions of dl frameworks may use different API.
How you are fix the problem, I meet the seem issue, but I can't handle it ! NameError: name '_KitModel__weights_dict' is not defined I am also convert mxnet model to pytorch model
same problem. Anyone share the solution, please.
same problem, how to solve? @microsoftopensource @kar1989 @msftdata @msftgits