Solved by chetan_patil in post #2 
              
              
                Hi @gil_bc , can you relate your problem to this https://github.com/ChetanPatil28/Pytorch_In_and_Out/blob/master/Selective_Transfer_Learning.py  ?