code: def get_match(cluster_labels):
      cluster_dict = dict()
      cluster = list()
      for i, l in enumerate(cluster_labels):
          if l in list(cluster_dict.keys()):
              cluster_dict[l].append(i)
          else:
              cluster_dict[l] = [i]
      for idx in cluster_dict:
          cluster.append(cluster_dict[idx])
      return cluster
  
imports: import os
  import re
  import cv2
  import gc
  import numpy
  import pandas
  from tqdm import tqdm
  import warnings
label_desc: Use image node_id 21 for calling a global function with example usage: get_match(cluster_labels) and returns: cluster