code: def __init__(
      self,
      frequent,
      rank,
      batch_size,
      val_targets,
      rec_prefix,
      fp16=False,
      image_size=(112, 112),
  ):
      self.frequent: int = frequent
      self.rank: int = rank
      self.batch_size: int = batch_size
      self.fp16 = fp16
      self.highest_acc_list: List[float] = [0.0] * len(val_targets)
      self.ver_list: List[object] = []
      self.ver_name_list: List[str] = []
      if self.rank == 0:
          self.init_dataset(
              val_targets=val_targets,
              data_dir=rec_prefix,
              image_size=image_size,
          )
  
file_path: insightface/recognition/arcface_paddle/dynamic/utils/verification.py
imports: import time
  import os
  import numpy
  import sklearn
  import paddle
  import logging
  from typing import List
  from utils.verification import evaluate
  from datasets import load_bin
label_desc: Use image node_id 1 to create a new CallBackVerification object from inherited base classes: object with example: obj = CallBackVerification(frequent, rank, batch_size, val_targets, rec_prefix, fp16, image_size)