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

Initialize weight? #14

Open
hchoi71 opened this issue May 10, 2021 · 0 comments
Open

Initialize weight? #14

hchoi71 opened this issue May 10, 2021 · 0 comments

Comments

@hchoi71
Copy link

hchoi71 commented May 10, 2021

Thanks for sharing this great work!

I have a simple question about the model.

For VGG_coattention in vgg.py, you initialize the weights of conv layers via self._initialize_weights(), as below https://github.com/GuoleiSun/MCIS_wsss/blob/1fc8f75dc5b5c6a7d7699313ce150e646bd054c7/Classifier/models/vgg.py#L27.

However, for CoattentionModel in vgg.py, you didn't initialize the weights such as self.extra_linear_e, self.extra_gate.. etc. https://github.com/GuoleiSun/MCIS_wsss/blob/1fc8f75dc5b5c6a7d7699313ce150e646bd054c7/Classifier/models/vgg.py#L142

Could you clarify this?

Thanks :)

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