implementation of Cumulative Matching Characteristics (CMC) and Mean Average Precision (mAP) in pytorch
Requires only pytorch and is fully parallelized (works on GPU)
CMC: https://en.everybodywiki.com/Cumulative_match_characteristic_CMC
mAP for information retrieval: https://en.wikipedia.org/wiki/Evaluation_measures_(information_retrieval)#Mean_average_precision