How to match the prediction and targets bounding boxes for MAP #589
-
Hi Guys, I hope you are all doing great. I was wondering how to correctly use the new Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @FrancescoSaverioZuppichini and thanks for the question. What might be misleading here is the fact that For an example I recommend to have look at this test: Does this make sense to you? |
Beta Was this translation helpful? Give feedback.
-
Oh Thanks! Got it ;) |
Beta Was this translation helpful? Give feedback.
Hi @FrancescoSaverioZuppichini and thanks for the question.
What might be misleading here is the fact that
targets
andpreds
is a list of dicts. Each dict represents a sample and contains a list of boxes. While the number of samples intargets
andpreds
has to match, the lists of boxes can vary.For an example I recommend to have look at this test:
https://github.com/PyTorchLightning/metrics/blob/master/tests/detection/test_map.py
Does this make sense to you?