RistoranteRist / FastFlow

MIT License
19 stars 7 forks source link

Custom datasets #2

Open mouxinyue1 opened 2 years ago

mouxinyue1 commented 2 years ago

Hello, I made an error with custom datasets, how can I solve it? image

jankenshow commented 2 years ago

Hello, this error is caused by mismatch of image size between your dataset and the model in which input image size is supposed to be 448*448 when "cait_m48_448" is set as backbone. Please check if resize to 448*448 in your custom dataset class has an effect!

akaraca-czm commented 3 months ago

Hi, I got same error by using 1920x1080 image, but when I give 1024x1024 image to model, it worked. Why. Image height and width must be equal?