Commit 59d445df authored by Congcong Li's avatar Congcong Li Committed by Francisco Massa

fix #258 (#648)

parent b4d54657
......@@ -16,8 +16,6 @@ def do_voc_evaluation(dataset, predictions, output_folder, logger):
gt_boxlists = []
for image_id, prediction in enumerate(predictions):
img_info = dataset.get_img_info(image_id)
if len(prediction) == 0:
continue
image_width = img_info["width"]
image_height = img_info["height"]
prediction = prediction.resize((image_width, image_height))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment