code: def process_other_set(hdf5_file, which_set, image_archive, patch_archive,
                        groundtruth, offset):
      producer = partial(other_set_producer, image_archive=image_archive,
                         patch_archive=patch_archive,
                         groundtruth=groundtruth, which_set=which_set)
      consumer = partial(image_consumer, hdf5_file=hdf5_file,
                         num_expected=len(groundtruth), offset=offset)
      producer_consumer(producer, consumer)