C2W4 Programming Assignment: Classification

Hi,
Around four days ago, I couldn’t Lauch Notebook of the Assignment as it showed 100% loading and error message.

I reported the issue and I could lauch the notebook. However, running GRADED_FUNCTION: train_val_datasets generates a result:

The result differs than the expected output.

I, then, opened the /data/train/A/, it contains many pairs of identical files, for instance a10_2024_10_29_20_54_28.png and a10.png, a1001.png and a1001_2024_10_29_20_54_28.png, etc.

My assumption was that these pairs increase the found files both in train and validation subdirectories/subfolders and it is twice of the expected output.

Then, I tried to delete around four or five files in /data/train/A/. The first_graded function was again executed and the result was shown in the first figure.

I couldn’t restore the deleted files which shouldn’t be deleted. My questions:

  • is my assumption correct that the found files in train and validation subdirectories are more than expected output due to the pairs of the identical files (a10_2024_10_29_20_54_28.png and a10.png, etc.)?
  • can you help me to restore files I already deleted or to restore the original files for /data/train/ and /data/validation/?

you can refer the points mentioned on how to get a fresh copy which will restore your file environment to original but make sure to delete all the files from File ==>Open section

refer the below comment on how to get latest version of assignment