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

Get confuse on EMA operation #15

Open
aries831 opened this issue Jul 11, 2024 · 0 comments
Open

Get confuse on EMA operation #15

aries831 opened this issue Jul 11, 2024 · 0 comments

Comments

@aries831
Copy link

Thank you for sharing the model. I have encountered some issues with the code.

In the paper, you mentioned that two projectors are modified by the other two projectors using the EMA operation. From my observation in 'train_Contrastive_Consistency_ViT_2D.py', projectors 1 and 2 are updated by EMA using projectors 3 and 4. However, I noticed that the parameters of projectors 3 and 4 are not included in optimizer 1 and 2.

This confuses me because if projectors 3 and 4 cannot be backpropagated by the optimizer, how can they influence the updates of projectors 1 and 2?

Is there something I misunderstood?

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