class_docstr: Computes F0 and loudness metrics.
class_docstr_tok: ["Computes","F0","and","loudness","metrics","."]
code: def __init__(self, sample_rate, frame_rate, run_f0_crepe=True):
      super().__init__(sample_rate, frame_rate)
      self._loudness_metrics = metrics.LoudnessMetrics(
          sample_rate=sample_rate, frame_rate=frame_rate
      )
      self._f0_metrics = metrics.F0Metrics(
          sample_rate=sample_rate, frame_rate=frame_rate
      )
      self._run_f0_crepe = run_f0_crepe
      if self._run_f0_crepe:
          self._f0_crepe_metrics = metrics.F0CrepeMetrics(
              sample_rate=sample_rate, frame_rate=frame_rate
          )
  
imports: import ddsp
  from ddsp.training import heuristics
  from ddsp.training import metrics
  from ddsp.training import summaries
  import gin
  import numpy
  import tensorflow.compat.v2
label_desc: Use image node_id 1 to create a new F0LdEvaluator object from inherited base classes: BaseEvaluator with example: obj = F0LdEvaluator(sample_rate, frame_rate, run_f0_crepe)