code: def __init__(
      self,
      num_images,
      nhood_size,
      minibatch_per_gpu,
      row_batch_size,
      col_batch_size,
      **kwargs,
  ):
      super().__init__(**kwargs)
      self.num_images = num_images
      self.nhood_size = nhood_size
      self.minibatch_per_gpu = minibatch_per_gpu
      self.row_batch_size = row_batch_size
      self.col_batch_size = col_batch_size
  
file_path: insightface/reconstruction/ostec/external/stylegan2/metrics/precision_recall.py
imports: import os
  import numpy
  import tensorflow
  import dnnlib
  import dnnlib.tflib
  from metrics import metric_base
  from training import misc
label_desc: Use image node_id 1 to create a new PR object from inherited base classes: metric_base with example: obj = PR(num_images, nhood_size, minibatch_per_gpu, row_batch_size, col_batch_size)