We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`--------------------------------------------------------------------------- ValueError Traceback (most recent call last) in ----> 1 mean_ap, average_precisions = mean_average_precision_for_boxes('/kaggle/working/ground_truths.csv','/kaggle/working/predictions.csv')
in mean_average_precision_for_boxes(ann, pred, iou_threshold, exclude_not_in_annotations, verbose) 115 present_classes = 0 116 precision = 0 --> 117 for label, (average_precision, num_annotations, _, _) in average_precisions.items(): 118 if num_annotations > 0: 119 present_classes += 1
ValueError: not enough values to unpack (expected 4, got 2)`
The text was updated successfully, but these errors were encountered:
Hello. Can you post first 10 lines of each file?
Sorry, something went wrong.
No branches or pull requests
`---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
in
----> 1 mean_ap, average_precisions = mean_average_precision_for_boxes('/kaggle/working/ground_truths.csv','/kaggle/working/predictions.csv')
in mean_average_precision_for_boxes(ann, pred, iou_threshold, exclude_not_in_annotations, verbose)
115 present_classes = 0
116 precision = 0
--> 117 for label, (average_precision, num_annotations, _, _) in average_precisions.items():
118 if num_annotations > 0:
119 present_classes += 1
ValueError: not enough values to unpack (expected 4, got 2)`
The text was updated successfully, but these errors were encountered: