pawandeep_singh:

for p in resnet152.parameters(): p.requires_grad = False


I tried and got error:
TypeError: conv2d(): argument 'input' (position 1) must be Tensor, not tuple. 

Please help, thanks!