mAP icon indicating copy to clipboard operation
mAP copied to clipboard

Refactoring needed. Complexity is 91!

Open philipperemy opened this issue 5 years ago • 4 comments

According the flake8, the main function complexity is a whopping 91!

Also, it would be nice to be able to install it with pip and have one function to call with a list of bounding boxes from ground truth and predictions and get a number.

Thanks!

philipperemy avatar May 20 '20 06:05 philipperemy

Yes, you are right. Do you think you could help me in any of those tasks?

Cartucho avatar May 26 '20 06:05 Cartucho

this code needs a redo. looks like written by a 2 year old (SE years)

HarrisDePerceptron avatar May 27 '20 08:05 HarrisDePerceptron

Yeah, and it is indeed the case. It should be using classes; it needs documentation and tests... Currently, I do not have time to do that, but feel free to take the initiative.

Cartucho avatar May 27 '20 09:05 Cartucho

Same I wish I had time.

philipperemy avatar May 30 '20 12:05 philipperemy