Solved by b4s1cv8vc in post #2 
              
              
                You can try this: 
for name, param in model.named_parameters():
    if param.requires_grad:
        print name, param.data