Closed KaiyangZhou closed 3 years ago
What was the error?
The self._per_class_res
was not reset after each use, which caused the numbers to accumulate over time.
How this error was fixed?
Reset self._per_class_res
in the reset()
function
https://github.com/KaiyangZhou/Dassl.pytorch/commit/29881c7faee7405f80f5f674de4bbbf80d5dc77a
https://github.com/KaiyangZhou/Dassl.pytorch/blob/master/dassl/evaluation/evaluator.py#L40