code: def run_fac(
      prb_feats,
      gal_feats,
      prb_labels,
      gal_labels,
      beta=0.08,
      knn=20,
      lr=0.5,
      prb_epoch=2,
      gal_epoch=3,
  ):
      gal_feats_new = gal_feats.copy()
      for i in range(prb_epoch):
          gal_feats_new = mergesetfeat3(
              gal_feats_new,
              gal_labels,
              gal_feats,
              gal_labels,
              beta,
              knn,
              lr,
          )
      prb_feats_new = prb_feats.copy()
      for i in range(gal_epoch):
          prb_feats_new = mergesetfeat3(
              prb_feats_new,
              prb_labels,
              gal_feats_new,
              gal_labels,
              beta,
              knn,
              lr,
          )
      return prb_feats_new, gal_feats_new
  
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 11 for calling a global function with example usage: run_fac(prb_feats, gal_feats, prb_labels, gal_labels, beta, knn, lr, prb_epoch, gal_epoch) and returns: prb_feats_new,  gal_feats_new