How , I have tried to make it false
for name, param in model_transfer.named_parameters():

  if(name != 'fc.weight'):

    param.requires_grad = False

  param.aux_logits = False

  Param.logits = False

return same error, even used Nll loss got error
AttributeError: 'InceptionOutputs' object has no attribute 'dim'
How can i make would   index one of these tensors to call