-
Notifications
You must be signed in to change notification settings - Fork 14
Description
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