Potential bug in Hungarian matching interface
Opened this issue · 0 comments
tnybny commented
Thanks for your contribution.
Aren't the arguments and parameters reversed for the call to merge
here?
I say this because np_tf_linear_sum_assignment
seems to expect the axis of the cost_matrix corresponding to the ground truth to be on the rows and corresponding to the predictions to be on the columns as per
detr-tensorflow/detr_tf/loss/hungarian_matching.py
Lines 30 to 31 in dda4c85
whereas, the above call to merge would return tensors when operated upon to produce the a cost matrix where rows correspond to predictions and columns to ground truth.