'How to make confusion matrix in YOLOv4 using mAP's output?

We have found the mean average precisions. In the map, there are TP, FP, FN values but not TN. So, we are trying to find the TN values from which we can measure our confusion matrix. How can we measure the confusion matrix from the already measured mAP's output?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source