Skip to content
Advertisement

How to extract validation data from training data

I have following statement

JavaScript

I would like to extract from following Dir Data, separate Validation Data

Greetings DA

Advertisement

Answer

in the call to image_dataset_from_directory, set subset=’training for the train dataset and set it to ‘validation’ for the validation set as shown below

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement