yunjey / pytorch-tutorial

PyTorch Tutorial for Deep Learning Researchers
MIT License
29.94k stars 8.1k forks source link

TypeError: conv2d(): argument 'input' (position 1) must be Tensor, not tuple #233

Open Harry-KIT opened 3 years ago

Harry-KIT commented 3 years ago

any answer appreciated!

Paulino-Cristovao commented 3 years ago

Harry-KIT could you be more explicit? conv2d() takes as arguments (c, output_feature, strides, padding). Could you print the shape of your input?