code: def from_carla(
      num_classes: int = 21,
      val_split: float = 0.1,
      batch_size: int = 4,
      **data_module_kwargs,
  ) -> SemanticSegmentationData:
      """Downloads and loads the CARLA capture data set."""
      download_data(
          "https://github.com/ongchinkiat/LyftPerceptionChallenge/releases/download/v0.1/carla-capture-20180513A.zip",
          "./data",
      )
      return SemanticSegmentationData.from_folders(
          train_folder="data/CameraRGB",
          train_target_folder="data/CameraSeg",
          val_split=val_split,
          batch_size=batch_size,
          num_classes=num_classes,
          **data_module_kwargs,
      )
  
imports: from flash.core.data.utils import download_data
  from flash.core.utilities.flash_cli import FlashCLI
  from flash.image import SemanticSegmentation, SemanticSegmentationData
label_desc: Use image node_id 1 for calling a global function with example usage: from_carla(num_classes, val_split, batch_size) and returns: SemanticSegmentationData