code: def _generate_train_files():
      """Generate train files (archives and CSV files)."""
      all_image_ids = []
      for prefix in "0123456789abcdef":
          path = os.path.join(
              _output_dir(), "s3-tar_train_sha1_%s.tar" % prefix
          )
          image_ids = _get_image_ids(images_number=32, prefix=prefix)
          all_image_ids.extend(image_ids)
          _write_tar(path, "train", image_ids, prefix)
      _write_image_level_labels("train-human-labels.csv", all_image_ids)
      _write_image_level_labels(
          "train-machine-labels.csv", all_image_ids, machine=True
      )
      _write_bbox_labels("train-annotations-bbox.csv", all_image_ids)
  
file_path: datasets/tensorflow_datasets/testing/fake_data_generation/open_images.py
imports: import os
  import random
  import tarfile
  from absl import app
  from absl import flags
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.features import ClassLabel
  from tensorflow_datasets.object_detection import open_images
  from tensorflow_datasets.testing import fake_data_utils
label_desc: Use image node_id 6 for calling a global function with example usage: _generate_train_files() without return types