Closed Blue-Clean closed 5 years ago
@Blue-Clean you should directly take 512*S image as input. The cropping operation will be set in the ImageData layer. For specific settings, you can refer to the ImageData layer of our prototxt file.
@ChaojianYu Thank you so much. Now I have some question about how to resize the image into 512S. I use python library PIL , new_image = img.resize((width,height),Image.BICUBIC).But the 512S image seems NOT high resolution compared with original one and the size of a certain image changes from 53.2kB into 25.1kB(compressed?). Can you tell me how to do? Forgive my ignorance.
@Blue-Clean It doesn't matter if the image is compressed. you can also download the preprocessed code here: https://drive.google.com/file/d/1BKrjLrcHmJHtSuUwDInL5uaozikJIaKD/view?usp=sharing
@ChaojianYu Thank you so much. HaHaHa, u r so nice!!
@ChaojianYu hi, I am confused about the input image size. I am new to this field. The input image size requires 448448 or not? I've downloaded the origin cub_200_2011 and resized them to 512S. Then I need to center crop them to 448448 as input image or directly take them 512S as input image size?