Icevision: Compare performance of various mAP metrics

Created on 25 Feb 2021  路  7Comments  路  Source: airctic/icevision

馃殌 Feature

Following the discussion from ice-dev it was suggested to compare different mAP metrics in terms of their performance.
So far what we have available:

enhancement help wanted

All 7 comments

Quick observation: @fstroth and rafaelpadilla's project both use NumPy whereas the lightning implementation uses PyTorch. Curious how much of a speedup that would offer

use NumPy whereas the lightning implementation uses PyTorch.

Numpy would be better for us because eventually pytorch should become an optional dependency (we want to start offering tensorflow support). But I'm also curious to see the difference in speed.

Hmm, is pytorch faster than numpy when running on CPU?

Hmm, is pytorch faster than numpy when running on CPU?

It might be in some cases, but how much faster?

Numpy would be better for us because eventually pytorch should become an optional dependency (we want to start offering tensorflow support)

Makes sense. Ambitious!

Not to crowd this space, but here's another NumPy implementation, from the author of Albumentations:
https://github.com/ternaus/iglovikov_helper_functions/blob/master/iglovikov_helper_functions/metrics/map.py

If we want to go for maximum performance we should look into writing a version using numba.

image
Best way would be to see where we stand at, following the prof Knuth advice :D

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lgvaz picture lgvaz  路  5Comments

lgvaz picture lgvaz  路  5Comments

tugot17 picture tugot17  路  5Comments

lgvaz picture lgvaz  路  4Comments

oke-aditya picture oke-aditya  路  5Comments