Ask Your Question

Revision history [back]

This is what forward() returns.

conf = inference_results[0, 0, i, 2] # extract the confidence (i.e., probability)

idx = int(inference_results[0, 0, i,1]) # extract the index of the class label

boxPoints = inference_results[0, 0, i, 3:7]