onnx-pytorch
onnx-pytorch copied to clipboard
When I convert the model, I can't get the Conv weight ? I am confused about it.

The initializers dict don't have the weight key
this is my net 
@GuardSkill
A hypothesis is that model's weight is not stored in initializer field.
You can print model.graph.initializer to confirm it.
Thanks for your reply, I have solved this problem. This issue is raised by the Conv's weight inferred by the conv operation in the forward process, I modify the op_code_generator/Conv.py and op_code_generator/ConvTranspose.py for the support the 'F.conv2d()". Your contribution is great,