ybendou / easy

This repository is the official implementation Ensemble Augmented-Shot Y-shaped Learning: State-Of-The-Art Few-Shot Classification with Simple Ingredients.
MIT License
112 stars 18 forks source link

Data Augmentation #8

Closed RongKaiWeskerMA closed 2 years ago

RongKaiWeskerMA commented 2 years ago

Hi author

Thanks for open sourcing your work! I am just curious about how the data augmentation is performed during validation and testing? I couldn't find the code performing 30 times cropping in the dataset.py

ybendou commented 2 years ago

Hello,

Thanks, I'm glad you enjoy our work. Regarding the cropping, it is done in the dataset.py file when args.sample_aug >1. For example, for miniImageNet, it's in line 332: https://github.com/ybendou/easy/blob/main/datasets.py#L332

Hope this helps, Best,