code: def prepare_fastrcnn_grocery_100_model():
      base_path = os.path.join(
          os.path.dirname(os.path.abspath(__file__)),
          *"../../../../PretrainedModels".split("/"),
      )
      base_path = os.path.normpath(base_path)
  
      if not os.path.isfile(
          os.path.join(base_path, "Fast-RCNN_grocery100.model")
      ):
          # copy from backup location
          base_path_bak = os.path.join(
              os.environ["CNTK_EXTERNAL_TESTDATA_SOURCE_DIRECTORY"],
              *"PreTrainedModels/FRCN_Grocery/v0".split("/"),
          )
          base_path_bak = os.path.normpath(base_path_bak)
  
          model_file_path = os.path.join(
              base_path, "Fast-RCNN_grocery100.model"
          )
          copyfile(
              os.path.join(base_path_bak, "Fast-RCNN_grocery100.model"),
              model_file_path,
          )
          print("copied model")
      return base_path
  
file_path: CNTK/Tests/EndToEndTests/CNTKv2Python/Examples/prepare_test_data.py
imports: import os
  import tarfile
  import zipfile
  from shutil import copyfile
label_desc: Use image node_id 6 for calling a global function with example usage: prepare_fastrcnn_grocery_100_model() and returns: base_path