code: def generate_files_for_multi_samples_ray(
      data_samples, generator_list, overwrite
  ):
      for id, data_sample in data_samples:
          generate_files_for_one_sample(
              data_sample, generator_list, overwrite
          )
          logging.info("Finished: {}".format(data_sample.data_path))
  
file_path: gluon-cv/gluoncv/torch/data/gluoncv_motion_dataset/dataset_pre_processor.py
imports: import os
  import random
  import logging
  import ray
  from pathlib import Path
  from tqdm import tqdm
  from .io.video_io import VideoFrameReader, write_img_files_to_vid_ffmpeg, resize_and_write_video_ffmpeg, convert_vid_ffmpeg
  from .utils.serialization_utils import save_json
  from .dataset import GluonCVMotionDataset, DataSample, FieldNames, get_resized_video_location, get_vis_gt_location, get_vis_thumb_location, get_vis_video_location
label_desc: Use image node_id 6 for calling a global function with example usage: generate_files_for_multi_samples_ray(data_samples, generator_list, overwrite) without return types