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

“MAX_ITER=20000” during meta-test in Tensorflow code #58

Open
licj1 opened this issue Mar 23, 2022 · 3 comments
Open

“MAX_ITER=20000” during meta-test in Tensorflow code #58

licj1 opened this issue Mar 23, 2022 · 3 comments

Comments

@licj1
Copy link

licj1 commented Mar 23, 2022

Hello,
Thanks for your excellent work.

I have a question about "MAX_ITER = 20000" during meta-test in TensorFlow, MAML's meta-test was only done once, why do you need to do yours for MAX_ITER times? And in this way, how to get the final results?
image

Thanks for your time and look forward to your reply soon!

@yaoyao-liu
Copy link
Owner

Thanks for your interest in our work!

Running the following loop won't execute the meta-test for MAX_ITER times. It will only execute the meta-test for each saved model:

for idx in range(MAX_ITER):
if idx % SAVE_STEP == 0:

If you have any further comments, please feel free to add comments here.

@licj1
Copy link
Author

licj1 commented Mar 23, 2022

Thanks for your interest in our work!

Running the following loop won't execute the meta-test for MAX_ITER times. It will only execute the meta-test for each saved model:

for idx in range(MAX_ITER):
if idx % SAVE_STEP == 0:

If you have any further comments, please feel free to add comments here.

Thanks for your prompt reply.
So can I perform the meta-test based on the saved model with the last iteration and use this result as the final result?

@yaoyao-liu
Copy link
Owner

@licj1

You may see the meta-test accuracy for each saved model, respectively.
I'm not sure what you mean by "final result".
If you hope to know which models correspond to the results reported in the paper, you may see "Section 5.3 Results and analysis".

Please feel free to add comments here if you have any further comments.

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