-
Notifications
You must be signed in to change notification settings - Fork 16
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
About Loading Weights to text Encoder #44
Comments
Hi! Both the vision and text encoders' weights will be updated in unmasked_teacher/multi_modality/tasks/shared_utils.py Lines 69 to 145 in 4fb4049
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
I might be confused here:
you load the model in build.vit()
self.vision_encoder = self.build_vision_encoder() # basically here
and then initialize the text encoder
self.text_encoder = self.build_text_encoder()
so basically loading the pretrained BERT
My question would be shoudnt you guys load the text encoder weights from the model_path(like b16_17m.pth)?
The text was updated successfully, but these errors were encountered: