Closed jin-s13 closed 6 years ago
I have also found that : in the 'computeMetrics' function of evaluateAP.py, apAll is firstly defined as zeros with length of (nGTall.shape[0] + 1), apAll[0:nGTall.shape[0]] are replaced with ap values, and finally the joint average is calculated including the last zero:
idxs = np.argwhere(~np.isnan(apAll[:,0]))
apAll[nGTall.shape[0]] = apAll[idxs, 0].mean()
Is this how it's supposed to be?
@hirotomusiker: indeed this is a bug. I fixed this bug and pushed into the repo, see https://github.com/leonid-pishchulin/poseval/commit/0268b263c82a61fd4758826746f4012cdf22da71
The total MOTA does not equal to the 'average joint-level MOTA'
I added the following lines in eval_helpers.py :: def getCum(vals) to compute the average joint-level MOTA.
I find that it does not equal to the total MOTA ! The total MOTA is much lower (about 5%).