How to tune hyper-parameters when feeding data from flow_from_directory

Viewed 385

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.

1 Answers
Related