module name can't contain \".\"
Closed this issue · 1 comments
sercruzg commented
Hi
I wanted to try your code but due to updates in python the modules cannot contain "." in their keys so it cannot be used to load your pretrained weights to train. Is there a way you can change their keys? e.g. features.Conv2d_6.pointwise.0.weight to features_Conv2d_6.pointwise.0.weight