Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the choice of optimizer #31

Open
Sword-keeper opened this issue May 24, 2020 · 3 comments
Open

the choice of optimizer #31

Sword-keeper opened this issue May 24, 2020 · 3 comments

Comments

@Sword-keeper
Copy link

Hi I just found that in the pretrain phase, you choose the SGD optimizer. However, in the meta-train phase, you choose the Adam optimizer. I wonder that why you choose different optimizer in the different phase?

@yaoyao-liu
Copy link
Owner

We choose the optimizer by empirical results. You may change the optimizer and re-run the experiments to see the difference.

@Sword-keeper
Copy link
Author

hi In the torch code,I found that you set the train_aug=false in the meta-training phase.However, in the pretrain phase, you set the train_aug = true. So the train_aug is designed for the pretrain phase? I set train_aug=ture in the meta-training phase, and runned several epochs. The result lower than aug=False.

@yaoyao-liu
Copy link
Owner

We apply data augmentation during pre-training to solve the overfitting problem. You may also apply data augmentation during meta-training as well. Please note that you cannot apply data augmentation on the episode test (the test set for each small task).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants