Replies: 1 comment
-
Shouldn't it rather be a shallow copy? Otherwise the weights of encoder are copied at every forward irrespective of momentum being on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
byol-pytorch/byol_pytorch/byol_pytorch.py
Line 258 in 6717204
byol-pytorch/byol_pytorch/byol_pytorch.py
Line 225 in 6717204
These two lines of code implicate that the target encoder is always set to be a copy of the online encoder no matter the momentum is turned on or off. Am I reading this correctly?
Beta Was this translation helpful? Give feedback.
All reactions