after i have predict phase i want to display the score valuation when I use the ground truth and the predicted boxes like this
test = keras_ocr.evaluation.score(dataset, predicteds, iou_threshold=0.5, similarity_threshold=0.5, translator=None)
I have a this error:
TypeError: list indices must be integers or slices, not tuple
dataset example:
after i have predict phase i want to display the score valuation when I use the ground truth and the predicted boxes like this test = keras_ocr.evaluation.score(dataset, predicteds, iou_threshold=0.5, similarity_threshold=0.5, translator=None) I have a this error: TypeError: list indices must be integers or slices, not tuple dataset example:
predicted example:
Someone help me Please