class_docstr: Initialize the memory banks. Valid only for DeepClusterV2 training
docstr: At the begining of the training, initialize the memory banks
docstr_tok: ["At","the","begining","of","the","training",",","initialize","the","memory","banks"]
code: def on_start(self, task) -> None:
      """
      At the begining of the training, initialize the memory banks
      """
      if not task.config["LOSS"]["name"] == "deepclusterv2_loss":
          return
      if task.train_phase_idx >= 0:
          return
      task.loss.init_memory(task.dataloaders["train"], task.model)
  
imports: from classy_vision.hooks.classy_hook import ClassyHook
label_desc: Use image node_id 1 for calling the InitMemoryHook obj's underlying member method code with example usage: obj.on_start(task) without return types