Closed tengerye closed 3 years ago
So it parses the extension of the first image and then continues to use it? Looks good to me, maybe later we can even try to make it work with images with different extensions in the same folder
@dbobrenko Yes, you are right.
For different extensions, we can try to search for each image every time. But it does not seem elegant for me and I am wondering how the case may happen.
@tengerye That's a good modification and I will merge it to the current version.
@dbobrenko To make it work with images with different extensions in the same folder is good advice. Bu as @tengerye says, it probably is a time-consuming operation. Maybe later we can find a better solution.
Auto parse the extension and fetch the data, assuming the extensions are consistent within a dataset (note
train_dataset
andval_dataset
are two datasets).@dbobrenko @wenwenyu Hi, if possible, would you please check if it fits what are required? Thanks.