Solved by albanD in post #10 
              
              
                Editing the dictionnary won’t help. As the dictionnary is created when you call .state_dict(). 
If you want to change them, the simplest solution I can think of right now is going to go through the network and for each parameter: 
# mod is the current module that has a parameter weight that needs
# …