ewrfcas / MAE-FAR

Codes of Learning Prior Feature and Attention Enhanced Image Inpainting (ECCV2022)
Other
77 stars 4 forks source link

image augmentation in ACR training step #11

Open rose-jinyang opened 1 year ago

rose-jinyang commented 1 year ago

Hello How are you? Thanks for contributing to this project. I found that the fixed resize or center crop operations are applied to an image in the ACR training step. https://github.com/ewrfcas/MAE-FAR/blob/main/ACR/base/dataset.py#L269 Why did you use random crop in the ACR training? Why did you use any color augmentation in the ACR training?

ewrfcas commented 1 year ago

Hi, we only resize all images into squares without cropping. And only flip augmentation is used during the training.