UpdateExternalTable(
output="image_file", # ["image_id"]
labels=[("stage", "annotation")],
),
BatchTransform(
func=add_image_file_to_image,
inputs=["image_file"], # ["image_id"]
outputs=["image"], # ["image_id"]
chunk_size=32,
executor_config=ExecutorConfig(cpu=0.5),
labels=[("stage", "annotation")],
),
UpdateExternalTable(
output="scan2_scan", # ["id"]
labels=[("stage", "annotation")],
),
BatchTransform(
func=add_to_ml_training_images_to_image,
inputs=["scan2_scan"], # ["id"]
outputs=["image"], # ["image_id"]
labels=[("stage", "annotation")],
),