code: def create_grocery_mappings(grocery_folder):
      sys.path.append(
          os.path.join(
              grocery_folder,
              "..",
              "..",
              "Detection",
              "utils",
              "annotations",
          )
      )
      from annotations_helper import create_class_dict, create_map_files
  
      abs_path = os.path.dirname(os.path.abspath(__file__))
      data_set_path = os.path.join(
          abs_path, "..", "..", "DataSets", "Grocery"
      )
      class_dict = create_class_dict(data_set_path)
      create_map_files(data_set_path, class_dict, training_set=True)
      create_map_files(data_set_path, class_dict, training_set=False)
  
imports: from __future__ import print_function
  import zipfile
  import os, sys
label_desc: Use image node_id 1 for calling a global function with example usage: create_grocery_mappings(grocery_folder) without return types