Spijkervet / BYOL

Bootstrap Your Own Latent: A New Approach to Self-Supervised Learning
128 stars 24 forks source link

construct target encoder #9

Open PeterZ163426 opened 2 years ago

PeterZ163426 commented 2 years ago

I would like to ask target_encoder = self._get_target_encoder()here, isn’t the online encoder copied directly?(target_encoder = copy.deepcopy(self.online_encoder)) I don’t feel that momentum is used. Maybe because I am not familiar with python syntax, but after searching the Internet for a long time, I don’t know where the problem is, so I want to know if anyone can help me.