I have a trained network plus a feature extractor that returns the output of the last conv layer, but when I try to simply pass the dataset through the model by
output =  model(dataset)
I get this error:
TypeError: conv2d(): argument ‘input’ (position 1) must be Tensor, not MyDataset
dataset is MyDataset instance, but I guess the transform should allow me to pass the data  through the net. What am I missing here?