I have the training data structured such flow_from_directory can be used and trains the network as well.
Now I wish to perform hyper-parameter tuning using GridSearchCV. When using GridSearchCV along with keras models the fit method expects array-like objects for input and labels.
Is there any way I can use flow_from_directory and perform hyper-parameter tuning.