Computer-Vision-Team-Amsterdam / Detecting-Heavy-Objects

0 stars 0 forks source link

wip batched processing #94

Closed epureanudiana closed 1 year ago

epureanudiana commented 1 year ago

small TODO: Download in postprocessing.py doesn't open the coco_instances_results.json properly, but proper files are read

chrise96 commented 1 year ago

TODO -> Delete this line: https://github.com/Computer-Vision-Team-Amsterdam/Detecting-Heavy-Objects/blob/feature/batched_processing/yolov5/detect.py#L221

epureanudiana commented 1 year ago

I am thinking now, how do we handle the case where we trigger the batched processing but there are 0 new images.

chrise96 commented 1 year ago

I am thinking now, how do we handle the case where we trigger the batched processing but there are 0 new images.

Good one, we can raise a ValueError when len(pano_ids) == 0 ?? The pipeline needs to stop at the retrieve_images DAG when there are no images to process