class_docstr: Meter to calculate top-k video-level accuracy for single/multi label
     video classification task.
  
  Video-level accuarcy is computed by averaging clip-level predictions and
  compare the reslt with video-level groundtruth label.
class_docstr_tok: ["Meter","to","calculate","top-k","video-level","accuracy","for","single\/multi","label","video","classification","task",".","Video-level","accuarcy","is","computed","by","averaging","clip-level","predictions","and","compare","the","reslt","with","video-level","groundtruth","label","."]
docstr: Args:
      topk: list of int `k` values.
      clips_per_video_train: No. of clips sampled per video at train time
      clips_per_video_test: No. of clips sampled per video at test time
docstr_tok: ["Args",":","topk",":","list","of","int","`","k","`","values",".","clips_per_video_train",":","No",".","of","clips","sampled","per","video","at","train","time","clips_per_video_test",":","No",".","of","clips","sampled","per","video","at","test","time"]
code: def __init__(self, topk, clips_per_video_train, clips_per_video_test):
      """
      Args:
          topk: list of int `k` values.
          clips_per_video_train: No. of clips sampled per video at train time
          clips_per_video_test: No. of clips sampled per video at test time
      """
      super().__init__(clips_per_video_train, clips_per_video_test)
      assert isinstance(topk, Sequence), "topk must be a sequence"
      assert len(topk) > 0, "topk list should have at least one element"
      assert [
          is_pos_int(x) for x in topk
      ], "each value in topk must be >= 1"
  
      self._accuracy_meter = AccuracyMeter(topk)
  
file_path: ClassyVision/classy_vision/meters/video_accuracy_meter.py
imports: from typing import Any, Dict, Sequence
  from classy_vision.generic.util import is_pos_int
  from classy_vision.meters.accuracy_meter import AccuracyMeter
  from .None import register_meter
  from .video_meter import VideoMeter
label_desc: Use image node_id 1 to create a new VideoAccuracyMeter object from inherited base classes: VideoMeter with example: obj = VideoAccuracyMeter(topk, clips_per_video_train, clips_per_video_test)