Yeah, I see. Things is, the exact same code and same weights file result in different keys.
In the older code the net has fc4.1.bias and fc4.1.weight, and in the .pth file there’s also  fc4.1.bias and fc4.1.weight in d.
In the new code the net has fc4.1.bias and fc4.1.weight, but in the .pth file there’s  fc4.0.bias and fc4.0.weight in d.
Seeing that, I copied only to network and weight loader to a new file in order to see what would happen - the net has fc4.0.bias and fc4.0.weight, but in the file there’s  fc4.1.bias and fc4.1.weight.
Why there’s a difference if it’s exactly the same code?