However, this was the reply from a mentor there:
“Have you checked the proposed code in the labs to complete the train_val_generators(TRAINING_DIR, VALIDATION_DIR) function? Does your proposal pass the grader?”
However, this was the reply from a mentor there:
“Have you checked the proposed code in the labs to complete the train_val_generators(TRAINING_DIR, VALIDATION_DIR) function? Does your proposal pass the grader?”
Hey @Johayra_Prithula,
Welcome to the community. Can you please mention the Week and the Assignment number to which you are referring to?
Regards,
Elemento
It’s Course 2 Week 2 Assignment
@Johayra_Prithula This lab belongs to TF1 course 2. Does this post help?
Yess it does! altho without removing the files the randomizer problem still prevails. But the grader doesn’t seem to take that into account so ig its okay either way
ImageDataGenerator
is smart enough to consider only image files. thumbs.db
won’t get through. Here’s the source
To be sure that these thumbs files don’t get mixed, you can filter them out along with 0 length files without printing thumbs db filenames. I’ll file a ticket to distribute a better zip file. Thanks for pointing out.