h4nwei / SPAQ

[CVPR2020] Official SPAQ & Implementation
166 stars 35 forks source link

Can not handle image with size smaller then 512? #10

Closed shamoqianting closed 4 years ago

shamoqianting commented 4 years ago

First thank you for sharing your work.

when I try a image with size 30x94, the program crashed. Is there any way to handle it ?

h4nwei commented 4 years ago

Hi @shamoqianting ,

Sorry. The short side of the test image should larger than 224 in the paper, since the models need to crop 224 × 224 × 3 patches. However, you can try to comment the Prepare_image(), then directly input the 30x94 image to test the model.