``` root/ ├── normal_dir/ │ ├── image1.jpg │ └── image2.jpg ├── abnormal_dir/ │ ├── image3.png │ └── image4.png └── mask_dir/ ├── mask3.png └── mask4.png ``` Can normal_ir be used in JPG format I have read many tutorials on writing PNG format If I use JPG, will it have any impact
Activity
samet-akcay commentedon May 20, 2025
Yes, you can. If you are using
Folderdatamodule, there isextensionsargument. It usestorchvisions'sIMG_EXTENSIONSandjpgis one of them.anomalib/src/anomalib/data/datamodules/image/folder.py
Line 62 in 669b7f1