class_docstr: Log objects to ClearML.
  
  To log all the necessary details for a ParlAI experiment using MLOps. After logging,
  details can be viewed in ClearML Experiment Manager Web UI.
docstr: Log/Report Test/Validation Samples as debug samples in ClearML WebUI.
  
  :param series:
      Name of series to show on WebUI. One of train/valid/test  or similar.
  :param debug_samples:
      The sample to log.
  :param index:
      Specifies iteration number. Default: 0.
  :param title:
      Type of metric (For ClearML WebUI). Default set to "dialouges".
docstr_tok: ["Log\/Report","Test\/Validation","Samples","as","debug","samples","in","ClearML","WebUI",".",":","param","series",":","Name","of","series","to","show","on","WebUI",".","One","of","train\/valid\/test","or","similar",".",":","param","debug_samples",":","The","sample","to","log",".",":","param","index",":","Specifies","iteration","number",".","Default",":","0.",":","param","title",":","Type","of","metric","(","For","ClearML","WebUI",")",".","Default","set","to","``","dialouges","''","."]
code: def log_debug_samples(
      self, series, debug_samples, index=0, title="dialogues"
  ):
      """
      Log/Report Test/Validation Samples as debug samples in ClearML WebUI.
  
      :param series:
          Name of series to show on WebUI. One of train/valid/test  or similar.
      :param debug_samples:
          The sample to log.
      :param index:
          Specifies iteration number. Default: 0.
      :param title:
          Type of metric (For ClearML WebUI). Default set to "dialouges".
      """
  
      # Report Test/Validation Samples as debug samples
      self.clearml_logger.report_media(
          title=title,
          series=series,
          iteration=index,
          stream=debug_samples,
          file_extension=".txt",
      )
  
imports: import datetime
  import json
  import numbers
  import os
  import pathlib
  import re
  from typing import Optional
  import parlai.utils.logging
  from parlai.core.metrics import Metric, dict_report, get_metric_display_data
  from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.utils.io import PathManager
label_desc: Use image node_id 5 for calling the ClearMLLogger obj's underlying member method code with example usage: obj.log_debug_samples(series, debug_samples, index, title) without return types