class_docstr: Show action that visualizes selected entries on an image
class_docstr_tok: ["Show","action","that","visualizes","selected","entries","on","an","image"]
code: def create_context(
      cls: type, args: argparse.Namespace
  ) -> Dict[str, Any]:
      vis_specs = args.visualizations.split(",")
      visualizers = []
      for vis_spec in vis_specs:
          vis = cls.VISUALIZERS[vis_spec]
          visualizers.append(vis)
      context = {
          "vis_specs": vis_specs,
          "visualizer": CompoundVisualizer(visualizers),
          "out_fname": args.output,
          "entry_idx": 0,
      }
      return context
  
imports: import argparse
  import logging
  import os
  import sys
  from timeit import default_timer
  from typing import Any, ClassVar, Dict, List
  import torch
  from detectron2.data.catalog import DatasetCatalog
  from detectron2.utils.file_io import PathManager
  from detectron2.utils.logger import setup_logger
  from densepose.structures import DensePoseDataRelative
  from densepose.utils.dbhelper import EntrySelector
  from densepose.utils.logger import verbosity_to_level
  from densepose.vis.base import CompoundVisualizer
  from densepose.vis.bounding_box import BoundingBoxVisualizer
  from densepose.vis.densepose_data_points import DensePoseDataCoarseSegmentationVisualizer, DensePoseDataPointsIVisualizer, DensePoseDataPointsUVisualizer, DensePoseDataPointsVisualizer, DensePoseDataPointsVVisualizer
label_desc: Use image node_id 5 for calling the ShowAction obj's underlying member method code with example usage: obj.create_context(cls, args) and returns: context