code: def parse_flags():
      """ArgumentParser flags parsing."""
  
      # --- CLI arguments
      parser = kb.ArgumentParser()
      # parser = argparse_flags.ArgumentParser()
      parser.add_argument("--num_objects_static", type=int, default=5)
      parser.add_argument("--num_objects_dynamic", type=int, default=3)
      parser.add_argument(
          "--object_types",
          nargs="+",
          default=["cube", "cylinder", "sphere", "torus", "gear"],
          choices=["ALL"] + OBJECT_TYPES,
      )
      parser.add_argument(
          "--object_colors", choices=COLOR_STRATEGIES, default="clevr"
      )
      parser.add_argument(
          "--object_sizes", choices=SIZE_STRATEGIES, default="clevr"
      )
      parser.add_argument(
          "--floor_color", choices=COLOR_STRATEGIES, default="gray"
      )
      parser.add_argument("--floor_friction", type=float, default=0.3)
      parser.add_argument(
          "--background_color",
          choices=COLOR_STRATEGIES,
          default="white",
      )
      parser.add_argument("--norender", action="store_true")
      parser.add_argument(
          "--assets_path",
          type=str,
          default="gs://kubric-public/assets/KuBasic.json",
      )
      parser.add_argument("--jitter", type=bool, default=False)
      parser.set_defaults(
          # Default is 1 for optical flow (unused here)
          frame_start=1,
          frame_end=301,  # Controls number of rendered frames per scene.
          frame_rate=12,
          resolution=(256, 256),
      )
      return parser.parse_args()
  
file_path: kubric/challenges/robust_nerf/worker.py
imports: import collections
  import json
  import logging
  from typing import Dict, List, Optional, Tuple
  import kubric
  import kubric.renderer.blender
  import kubric.simulator.pybullet
  import numpy
  import tensorflow
  import bpy
label_desc: Use image node_id 1 for calling a global function with example usage: parse_flags() and returns: parser