I’ve only just recently started familiarizing myself with Skorch, but it seems that calls to fit or equivalent require passing y explicitly. Skorch allows passing PyTorch Dataset-classes directly but in turn requires the user to pass y=None in conjunction with the Dataset. Please see Skorch’s documentation for how they handle parameters passed to fit method 133.
IMHO you should maybe refrain from passing a DataLoader and instead let Skorch’s NeuralNet take care of wrapping the Dataset to a DataLoader. See their quick tutorial here 148.
Cheers,
PN