Traceback (most recent call last):
File "./fastreid/engine/train_loop.py", line 148, in train
self.after_epoch()
File "./fastreid/engine/train_loop.py", line 182, in after_epoch
h.after_epoch()
File "./fastreid/engine/hooks.py", line 377, in after_epoch
self._do_eval()
File "./fastreid/engine/hooks.py", line 351, in _do_eval
results = self._func()
File "./fastreid/engine/defaults.py", line 303, in test_and_save_results
self._last_eval_results = self.test(self.cfg, self.model)
File "./fastreid/engine/defaults.py", line 439, in test
results_i = inference_on_dataset(model, data_loader, evaluator, flip_test=cfg.TEST.FLIP.ENABLED)
File "./fastreid/evaluation/evaluator.py", line 156, in inference_on_dataset
results = evaluator.evaluate()
File "/home/jovyan/ssr/fast-reid-master/projects/PartialReID/partialreid/dsr_evaluation.py", line 102, in evaluate
dsr_dist = compute_dsr_dist(spatial_features[:self._num_query], spatial_features[self._num_query:], dist,
File "/home/jovyan/ssr/fast-reid-master/projects/PartialReID/partialreid/dsr_distance.py", line 34, in compute_dsr_dist
Proj_M1 = torch.matmul(torch.inverse(torch.matmul(g.t(), g) + T), g.t())
RuntimeError: The size of tensor a (70) must match the size of tensor b (110) at non-singleton dimension 1
Traceback (most recent call last): File "./fastreid/engine/train_loop.py", line 148, in train self.after_epoch() File "./fastreid/engine/train_loop.py", line 182, in after_epoch h.after_epoch() File "./fastreid/engine/hooks.py", line 377, in after_epoch self._do_eval() File "./fastreid/engine/hooks.py", line 351, in _do_eval results = self._func() File "./fastreid/engine/defaults.py", line 303, in test_and_save_results self._last_eval_results = self.test(self.cfg, self.model) File "./fastreid/engine/defaults.py", line 439, in test results_i = inference_on_dataset(model, data_loader, evaluator, flip_test=cfg.TEST.FLIP.ENABLED) File "./fastreid/evaluation/evaluator.py", line 156, in inference_on_dataset results = evaluator.evaluate() File "/home/jovyan/ssr/fast-reid-master/projects/PartialReID/partialreid/dsr_evaluation.py", line 102, in evaluate dsr_dist = compute_dsr_dist(spatial_features[:self._num_query], spatial_features[self._num_query:], dist, File "/home/jovyan/ssr/fast-reid-master/projects/PartialReID/partialreid/dsr_distance.py", line 34, in compute_dsr_dist Proj_M1 = torch.matmul(torch.inverse(torch.matmul(g.t(), g) + T), g.t()) RuntimeError: The size of tensor a (70) must match the size of tensor b (110) at non-singleton dimension 1