docstr: Initializes the whisper optimizer and model optimizer
docstr_tok: ["Initializes","the","whisper","optimizer","and","model","optimizer"]
code: def init_optimizers(self):
      "Initializes the whisper optimizer and model optimizer"
      self.whisper_optimizer = self.hparams.whisper_opt_class(
          self.modules.whisper.parameters()
      )
  
      self.model_optimizer = self.hparams.model_opt_class(
          self.hparams.model.parameters()
      )
  
      # save the optimizers in a dictionary
      # the key will be used in `freeze_optimizers()`
      self.optimizers_dict = {
          "model_optimizer": self.model_optimizer,
          "whisper_optimizer": self.whisper_optimizer,
      }
  
      if self.checkpointer is not None:
          self.checkpointer.add_recoverable(
              "whisper_opt", self.whisper_optimizer
          )
          self.checkpointer.add_recoverable(
              "modelopt", self.model_optimizer
          )
  
file_path: speechbrain/recipes/LibriSpeech/ASR/CTC/train_with_whisper.py
imports: import sys
  import torch
  import logging
  import speechbrain
  from speechbrain.utils.distributed import run_on_main, if_main_process
  from speechbrain.tokenizers.SentencePiece import SentencePiece
  from speechbrain.utils.data_utils import undo_padding
  from hyperpyyaml import load_hyperpyyaml
  from pathlib import Path
label_desc: Use image node_id 5 for calling the ASR obj's underlying member method code with example usage: obj.init_optimizers() without return types