Closed hnrna closed 1 year ago
Thanks for your suggestion. You can revise the data loading code and it can support other image formats. I will also revise the code later.
Thank you for your support and answers!
Temporarily implemented loading other types of images by removing if is_png_file(x)
in the dataloader, not sure if this modification has other implicit effects on the subsequent model for now.
Hi, your work seems to be working very well, thank you very much!
However, I encountered some issues with the file format during my attempts, as follows.
Noticed that
is_png_file(x)
is used indataset.py
for the data to be loaded, does this make the program unable to support file formats other than png? (While the ISTD/ISTD+ dataset uses the png format, the data in SRD and other customizations may be jpg.)Would consideration be given to adding support for other common image types? Eg: jpg
Would it affect the operation of subsequent programs or the effectiveness of the model if images in other formats are supported only by modifying the loading code?