code: def do_knn_and_accuracies(
      self,
      accuracies,
      embeddings_and_labels,
      query_split_name,
      reference_split_names,
  ):
      raise NotImplementedError
  
imports: from collections import defaultdict
  import torch
  import tqdm
  from ..utils import common_functions
  from ..utils import inference
  from ..utils.accuracy_calculator import AccuracyCalculator
label_desc: Use image node_id 19 for calling the BaseTester obj's underlying member method code with example usage: obj.do_knn_and_accuracies(accuracies, embeddings_and_labels, query_split_name, reference_split_names) without return types