code: def try_getting_not_lone_labels(
      knn_labels, query_labels, not_lone_query_mask
  ):
      if not any(not_lone_query_mask):
          return None, None
      return (
          knn_labels[not_lone_query_mask],
          query_labels[not_lone_query_mask],
      )
  
imports: import torch
  from sklearn.metrics import adjusted_mutual_info_score, normalized_mutual_info_score
  from .None import common_functions
  from .inference import FaissKMeans, FaissKNN
label_desc: Use image node_id 10 for calling a global function with example usage: try_getting_not_lone_labels(knn_labels, query_labels, not_lone_query_mask) and returns: knn_labels,  query_labels, None,  None