running prodigy image.test image_objects tiny-yolo /tmp/my_images/
results in the following error:
ERROR: Invalid task format for view ID 'image
followed by several lines similar to (95.39274597167969, 124.06005859375) is not of type 'array' [spans -> 0 -> points -> 0]
, then a dump of the image
This is easily solved by editing image.py in prodigy/recipes, replacing the lines
rel_points = [(x - w/2, y - h/2), (x - w/2, y + h/2),
(x + w/2, y + h/2), (x + w/2, y - h/2)]
in get_span() with
rel_points = [[x - w/2, y - h/2], [x - w/2, y + h/2],
[x + w/2, y + h/2], [x + w/2, y - h/2]]