def METHOD_NAME(self, image_files):
    inputs = dict()
    im_list, im_info_list = [], []
    for im_path in image_files:
        im, im_info = preprocess(im_path, self.preprocess_ops)
        im_list.append(im)
        im_info_list.append(im_info)
    inputs['im_shape'] = np.stack([e['im_shape'] for e in im_info_list], axis=0).astype('float32')
    inputs['scale_factor'] = np.stack([e['scale_factor'] for e in im_info_list], axis=0).astype('float32')
    inputs['image'] = np.stack(im_list, axis=0).astype('float32')
    return inputs