code: def main(_):
      models_data_filename = "models_per_split.pkl"
  
      with gfile.Open(models_data_filename, "rb") as filename:
          models_data_per_class = pickle.load(filename)
  
      path_prefix = "/datasets/shapenet/raw/"
      local_prefix = "/occluded_primitives/meshes/"
      for split in ["val", "train", "test"]:
          for class_name in models_data_per_class[split]:
              for model in models_data_per_class[split][class_name]:
                  mesh_file = os.path.join(
                      path_prefix,
                      class_name,
                      model,
                      "models",
                      "model_normalized.obj",
                  )
                  local_dir = os.path.join(
                      local_prefix, split, class_name, model
                  )
                  if not os.path.exists(local_dir):
                      os.makedirs(local_dir)
                  print(mesh_file)
                  res = subprocess.call(
                      ["fileutil", "cp", mesh_file, local_dir]
                  )
                  print(res)
  
imports: import os
  import pickle
  import subprocess
  from absl import app
  from absl import flags
  from google3.pyglib import gfile
label_desc: Use image node_id 1 for calling a global function with example usage: main(_) without return types