Hi,
The error is :
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:
(2, 4).
Hi,
The error is :
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:
(2, 4).
Hi @balaji.ambresh , I opened a public topic as you told me
Are you sure this is for this specialization, I dont think you are on the right place of the forum!
Filtering of zero sized files is done incorrectly. For instance, if there are 12 images out of which 6 of them are zero sized, we want to have 3 images in training and 3 in validation with a split of 50% (there are 6 valid images).
These are the steps to follow:
Edit: Your topic has been moved to the right subcategory.
Thank you, it works now.
I am having this issue at
I am getting this error
FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/cats-v-dogs/training/cats/’
while at # Test your create_train_val_dirs function it shows
/tmp/cats-v-dogs/train
/tmp/cats-v-dogs/validation
/tmp/cats-v-dogs/train/cats
/tmp/cats-v-dogs/train/dogs
/tmp/cats-v-dogs/validation/cats
/tmp/cats-v-dogs/validation/dogs
as outputs, I have no idea where is the issue!
There is a difference between train and training.