Resolve naming convention for duplicate image filename
Closed this issue · 0 comments
valhassan commented
During the process of tiling an edge case can arise when two images in a CSV are identical thereby causing errors. There may be reasons why identical image filenames exist.
- Images can be duplicated for augmentation hence creating an edge case of a duplicate filename
- Image directories are different but the image filenames are the same.
With this edge case, overwrites of preexisting patch files occur while an error arises when moving patch files between train and validation folders 'file not found error'
A simple fix using the image index to create unique patch filenames is implemented here: 4f92b66