Conv_forward: TypeError: conv2d(): argument 'input' (position 1) must be Tensor, not list

Getting following error

conv_forward: TypeError: conv2d(): argument ‘input’ (position 1) must be Tensor, not list

while running

learn = cnn_learner(dls, resnet34, metrics=error_rate)

learn.fine_tune(1)

Any ideas how to solve this?

Thanks for any leads!

I think theres something wrong with the dataloaders. It seems to return a list instead of a Tensor.
Can you upload the dataloaders code.?