code: def reset_momentum_weights(self):
      # see https://arxiv.org/pdf/2207.06167.pdf Table 7b)
      self.backbone_momentum = copy.deepcopy(self.backbone)
      self.projection_head_momentum = copy.deepcopy(
          self.projection_head
      )
      utils.deactivate_requires_grad(self.backbone_momentum)
      utils.deactivate_requires_grad(self.projection_head_momentum)
  
file_path: lightly/examples/pytorch/smog.py
imports: import copy
  import torch
  import torchvision
  from sklearn.cluster import KMeans
  from torch import nn
  from lightly.models import utils
  from lightly.models.modules.heads import SMoGPredictionHead, SMoGProjectionHead, SMoGPrototypes
  from lightly.models.modules.memory_bank import MemoryBankModule
  from lightly.transforms.smog_transform import SMoGTransform
label_desc: Use image node_id 4 for calling the SMoGModel obj's underlying member method code with example usage: obj.reset_momentum_weights() without return types