I’m trying to train my own dataset, looking at official transfer learning page on pytorch 7
on using inception_v3 model
model_ft = models.inception_v3(pretrained=True)
i get this huge error, can anyone help me out here?
Traceback (most recent call last):
  File "transfer_learning_tutorial.py", line 276, in <module>
    num_epochs=25)
  File "transfer_learning_tutorial.py", line 176, in train_model
    outputs = model(inputs)
  File "/home/ffffff/.virtualenvs/LearnPytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ffffff/.virtualenvs/LearnPytorch/lib/python3.6/site-packages/torchvision/models/inception.py", line 109, in forward
    aux = self.AuxLogits(x)
  File "/home/ffffff/.virtualenvs/LearnPytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ffffff/.virtualenvs/LearnPytorch/lib/python3.6/site-packages/torchvision/models/inception.py", line 308, in forward
    x = self.conv1(x)
  File "/home/ffffff/.virtualenvs/LearnPytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ffffff/.virtualenvs/LearnPytorch/lib/python3.6/site-packages/torchvision/models/inception.py", line 325, in forward
    x = self.conv(x)
  File "/home/ffffff/.virtualenvs/LearnPytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ffffff/.virtualenvs/LearnPytorch/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 301, in forward
    self.padding, self.dilation, self.groups)
RuntimeError: sizes must be non-negative