Hi. I got 1.weight by running this print(list(netM.module.model_enc1.named_parameters())). The output is:
[('1.weight', Parameter containing:
tensor([[[[ 2.5521e-02,  5.2238e-02,  4.7848e-04,  ...,  5.6985e-02,
            5.1901e-02,  5.1235e-02],
.
.
.
.

And then we have values for 1.bias, 2.weight, 2.bias as mentioned above.
This is the error I got for the code you mentioned:

AttributeError: ‘ReflectionPad2d’ object has no attribute ‘weight’