SOLIDER-REID icon indicating copy to clipboard operation
SOLIDER-REID copied to clipboard

AssertionError: Error: all query identities do not appear in gallery

Open wailokkwok opened this issue 11 months ago • 0 comments

Encountered this error when training at the 10th epochs.

/home/matthew_kwok_tictag_io/SOLIDER-REID/utils/metrics.py:12: UserWarning: This overload of addmm_ is deprecated: addmm_(Number beta, Number alpha, Tensor mat1, Tensor mat2) Consider using one of the following signatures instead: addmm_(Tensor mat1, Tensor mat2, *, Number beta = 1, Number alpha = 1) (Triggered internally at ../torch/csrc/utils/python_arg_parser.cpp:1642.) dist_mat.addmm_(1, -2, qf, gf.t()) The test feature is normalized => Computing DistMat with euclidean_distance Traceback (most recent call last): File "/home/matthew_kwok_tictag_io/SOLIDER-REID/train.py", line 84, in do_train( File "/home/matthew_kwok_tictag_io/SOLIDER-REID/processor/processor.py", line 140, in do_train cmc, mAP, _, _, _, _, _ = evaluator.compute() File "/home/matthew_kwok_tictag_io/SOLIDER-REID/utils/metrics.py", line 129, in compute cmc, mAP = eval_func(distmat, q_pids, g_pids, q_camids, g_camids) File "/home/matthew_kwok_tictag_io/SOLIDER-REID/utils/metrics.py", line 80, in eval_func assert num_valid_q > 0, "Error: all query identities do not appear in gallery" AssertionError: Error: all query identities do not appear in gallery

wailokkwok avatar Feb 27 '25 02:02 wailokkwok