colorization icon indicating copy to clipboard operation
colorization copied to clipboard

what is the image augmentation strategy while training on current demo release?

Open jo4y4y94 opened this issue 3 years ago • 2 comments

hello,thanks for your fabulous work.I wonder what augmentation strategy was using when training on current release demo network?i noticed there are some tiny changes from current training strategy and the mentioned one in original paper.

Original paper seems not mentioning any augmentation,like just input 224x224 images into network,while current one use 176x176 and implement random cropped and mirrored.I wonder what augmentation strategy was using when training on current release demo network?and if it has go through some kind of cropping,where is the image cropped from?is it crop from the image that central crop from imagenet then resize to 256x256 , or just crop from original image from imagenet which has arbitrary resolution?

Please help me if you have free time,thanks!

jo4y4y94 avatar Apr 14 '21 10:04 jo4y4y94

I used random crops (176 out of 256) and flipping in the original paper. It was trained in caffe, a long time ago now

richzhang avatar Apr 14 '21 16:04 richzhang

@richzhang Thanks for you reply! Do you know how were those 256x256 images come from? i'm not sure is central cropped from an arbitrary size image then resize to 256x256,or directly resize an arbitrary size image to 256x256,it seems like second option is a little bit weird cause it change the ratio of image.


After reading caffe's official code,i have found out that if you set H and W to 256 while making lmdb file, it will resize all images to 256x256 no matter what original size is .Put it here in case someone is wondering this.

jo4y4y94 avatar Apr 14 '21 20:04 jo4y4y94