When I don’t need a network to update their parameters, I will not put this network’s paramters into optimizer’s parameter argument. And when I run forward，I will warp “with torch.no_grad():” for my “model(input)”.
Are there some wrongs in my operations?
Thanks…