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 questions about experimental hyperparameters #47

Open
DaIGaN2019 opened this issue Nov 19, 2024 · 2 comments
Open

Some questions about experimental hyperparameters #47

DaIGaN2019 opened this issue Nov 19, 2024 · 2 comments

Comments

@DaIGaN2019
Copy link

Hello author, thank you for sharing such wonderful code. I couldn't find some parameter settings for the experiment in the paper (including supporting materials). Can you share more hyperparameter settings?
Framework: iBOT
arch:Vit-B/16
Unknown parameter:
Are both -- out_im and -- patch_out_im equal to 8192?
2. Is norm_in'head set to None?
3. Are both -- warmup_tacher_patch_temp and -- warmup_tacher_temp equal to 0.04?
4. Are both -- teacher_ctch_temp and -- teacher_temp equal to 0.4?

And, may I ask if there is a situation where LOSS is Nan or if LOSS first decreases and then increases when conducting relevant experiments? The epoch you set during training is 80. Is the final training result used as the test model? Or choose a model saved in a certain epoch?

Thank you again for sharing! We look forward to your reply!

@Richarizardd
Copy link
Contributor

Hi @DaIGaN2019 - For the iBOT ViT-B/16 comparison, we used the default hyper-parameters here https://lf3-nlp-opensource.bytetos.com/obj/nlp-opensource/archive/2022/ibot/vitb_16/args.txt, so:

  1. --out_im and patch_out_im equal to 8192
  2. norm_in_head equal to None
  3. --warmup_teacher_patch_temp and --warmup_teacher_temp equal to 0.04
  4. --teacher_patch_temp and --teacher_temp equal to 0.07

Yes, the loss should decrease, and then spike up after `freeze_last_layer==3' epochs. The model is trained for 80 epochs of IN-22K training (translated into iterations), and we evaluate on the final model.

@DaIGaN2019
Copy link
Author

Thank you for your answer! It is of great help to me!!! Thank you again for your wonderful work.

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