Im trying to find the optimal hyperparameters for my CNN using GridSearchCV.
My model is working fine without the gridsearch, but when I swap out model.fit for: