Failed test case: incorrect number of (training, validation) at assignment submission

Course 2 week 1 and follwing 2 weeks assignment giving below error after submission

Failed test case: incorrect number of (training, vAll tests passed for create_train_val_dirs!

Details of failed tests for split_data

Failed test case: incorrect number of (training, validation) images when using a split of 0.5 and 12 images (6 are zero-sized).
Expected:
(3, 3),
but got:
(6, 0).

All tests passed for train_val_generators!

All tests passed for create_model!

As a result, it is scoring 48 out of 50. I’m pleased with the result, but I’d like to know why it didn’t score higher. This is because I’m planning to take the TensorFlow Developer certification exam this weekend, and I don’t want this to impact my performance

#course 2
#week 1, 2, 3

Explanation test feedback:

When split_data was invoked with:

  1. An input directory containing 12 images out of which 6 of them were zero sized.
  2. Split ratio of .5

The expectation is to observe 3 images in each of the output directories. In your case, there were 6 images in an output directory and 0 in the other.