code: def find_num_positives(input_targets):
      logging.info("Finding max number of positives per class...")
      num_classes = int(max(input_targets) + 1)
      num_pos = []
      for idx in range(num_classes):
          pos = len(np.where(input_targets == idx)[0])
          num_pos.append(pos)
      return num_pos
  
file_path: vissl/extra_scripts/create_low_shot_samples.py
imports: import argparse
  import logging
  import random
  import numpy
  from iopath.common.file_io import g_pathmgr
  from vissl.utils.io import load_file, save_file
label_desc: Use image node_id 3 for calling a global function with example usage: find_num_positives(input_targets) and returns: num_pos