xuebinqin / DIS

This is the repo for our new project Highly Accurate Dichotomous Image Segmentation
Apache License 2.0
2.11k stars 244 forks source link

Dataset image format issues #102

Closed babyta closed 4 months ago

babyta commented 7 months ago

''' if datasets[i]["im_ext"]!=".png" or datasets[i]["gt_ext"]!=".png": print("Error: Please make sure all you images and ground truth masks are in jpg and png format respectively !!!") exit() ''' I want to ensure the quality of the image, so my original image is in png format. Is it necessary to ensure the jpg format here? Currently I changed the code 'jpg' to 'png'

Sencc commented 6 months ago

I think the image format is not important, you can modify it to what you need.

babyta commented 4 months ago

yeah,I commented him out