Closed anandhu-eng closed 14 hours ago
Yes @anandhu-eng the potential fix is good. As the download happens inside the Inference python code we don't have a better way here.
Closing the issue as https://github.com/GATEOverflow/cm4mlops/pull/116 is merged.
If a user attempts to download the COCO 2014 dataset and encounters an issue that results in an incomplete download, the file
annotations_trainval2014.zip
may remain in the cache folder. When the user tries to download the dataset again, the new download will be saved asannotations_trainval2014.zip.1
because the original file already exists. In this line of inference code, the code attempts to extractannotations_trainval2014.zip
, the following error occurs:Potential fix:
We could give a check statement here and delete
annotations_trainval2014.zip
if it exists.