code: def from_coco_128(
      val_split: float = 0.1,
      transform_kwargs: Optional[Dict[str, Any]] = None,
      batch_size: int = 1,
      **data_module_kwargs,
  ) -> ObjectDetectionData:
      """Downloads and loads the COCO 128 data set."""
      download_data(
          "https://github.com/zhiqwang/yolov5-rt-stack/releases/download/v0.3.0/coco128.zip",
          "data/",
      )
      return ObjectDetectionData.from_coco(
          train_folder="data/coco128/images/train2017/",
          train_ann_file="data/coco128/annotations/instances_train2017.json",
          val_split=val_split,
          transform_kwargs={"image_size": (128, 128)}
          if transform_kwargs is None
          else transform_kwargs,
          batch_size=batch_size,
          **data_module_kwargs,
      )
  
imports: from typing import Any, Dict, Optional
  from flash.core.data.utils import download_data
  from flash.core.utilities.flash_cli import FlashCLI
  from flash.image import ObjectDetectionData, ObjectDetector
label_desc: Use image node_id 1 for calling a global function with example usage: from_coco_128(val_split, transform_kwargs, batch_size) and returns: ObjectDetectionData