Thanks @Kushaj. I did visit the Skorch Library recently and just now again, but it is not explicit as to how to use Data Loaders with grid search. For instance what is the preferred X, y input for the fit function in this scenario? It fails when I Provide the generated training data Loader (images directly from directory) in the grid search fit function. some linky examples if there are, will be quite helpful.