Solved by albanD in post #2 
              
              
                Hi, 
The problem is that you index the weights when you do [1]. So you get a new Tensor that does not have a .grad field. 
model.convos[1].weight.grad should not be None right?