docstr: Computes the si-snr loss
docstr_tok: ["Computes","the","si-snr","loss"]
code: def compute_objectives(self, predictions, clean):
      """Computes the si-snr loss"""
      predicted_wavs, predicted_specs = predictions
  
      if self.use_freq_domain:
          target_specs = self.compute_feats(clean)
          return self.hparams.loss(target_specs, predicted_specs)
      else:
          return self.hparams.loss(
              clean.unsqueeze(-1), predicted_wavs.unsqueeze(-1)
          )
  
imports: import os
  import glob
  import sys
  import csv
  import json
  import logging
  import numpy
  from tqdm import tqdm
  from typing import Dict
  from functools import partial
  import torch
  import torchaudio
  import braceexpand
  import webdataset
  import torch.nn.functional
  import speechbrain
  from hyperpyyaml import load_hyperpyyaml
  from composite_eval import eval_composite
  import speechbrain.nnet.schedulers
  from speechbrain.utils.distributed import run_on_main
  from speechbrain.utils.metric_stats import MetricStats
  from speechbrain.processing.features import spectral_magnitude
  from speechbrain.dataio.batch import PaddedBatch
  from speechbrain.core import AMPConfig
  from pesq import pesq
  from pystoi import stoi
label_desc: Use image node_id 3 for calling the Enhancement obj's underlying member method code with example usage: obj.compute_objectives(predictions, clean) and returns: self, self