class_docstr: Directly get the key frame, no reference frames.
  
  Args:
      collect_video_keys (list[str]): The keys of video info to be
          collected.
class_docstr_tok: ["Directly","get","the","key","frame",",","no","reference","frames",".","Args",":","collect_video_keys","(","list","[","str","]",")",":","The","keys","of","video","info","to","be","collected","."]
code: def __repr__(self) -> str:
      repr_str = self.__class__.__name__
      repr_str += f"(collect_video_keys={self.collect_video_keys})"
      return repr_str
  
file_path: mmdetection/mmdet/datasets/transforms/frame_sampling.py
imports: import random
  from collections import defaultdict
  from typing import Dict, List, Optional, Union
  from mmcv.transforms import BaseTransform
  from mmdet.registry import TRANSFORMS
label_desc: Use image node_id 4 for calling the BaseFrameSample obj's underlying member method code with example usage: obj.__repr__() and returns: repr_str