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

some question about MAML #16

Open
ljx970128 opened this issue Dec 9, 2022 · 2 comments
Open

some question about MAML #16

ljx970128 opened this issue Dec 9, 2022 · 2 comments

Comments

@ljx970128
Copy link

No description provided.

@ljx970128
Copy link
Author

1.--dataset miniImagenet --method metatrain --train_aug --test maml5_resnet
use this command, the accuracy is 92%

--dataset miniImagenet --model na --method metatrain --train_aug --test maml5_ifsl_resnet
use this command, the accuracy is 89.33%

This is not consistent with the results in the paper. In particular, ifsl does not improve the accuracy of maml

2.--method metatrain --train_aug --test maml5_ifsl_resnet_tiered
use this command, the following error occurs:
size mismatch for fc.weight: copying a param with shape torch.Size([64, 512]) from checkpoint, the shape in current model is torch.Size([351, 512]).
size mismatch for fc.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([351]).

The parameters of the pre-training model are the same as those of miniImagenet.

3.In the MateTrain.py, I find some commands about new_test.py, but I couldn't find such a document.

@ljx970128
Copy link
Author

image
The accuracy reaches 100 in the first epoch. Then the subsequent training is not meaningful
image

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

1 participant