mmaction2
mmaction2 copied to clipboard
[Bug] Can‘t use Confusion Matrix as evaluator
Branch
main branch (1.x version, such as v1.0.0
, or dev-1.x
branch)
Prerequisite
- [X] I have searched Issues and Discussions but cannot get the expected help.
- [X] I have read the documentation but cannot get the expected help.
- [X] The bug has not been fixed in the latest version.
Environment
Hello,I am attempting to use the confusion matrix as an output in the model training process.But an error occurred with the checkpoint hook.Please tell me the solution about that,thanks a lot.
Describe the bug
Traceback (most recent call last):
File "D:\xzy\mmaction2\tools\train.py", line 135, in
Reproduces the problem - code sample
default_hooks = dict(checkpoint=dict(interval=10), logger=dict(interval=100))
val_evaluator = [dict(type='AccMetric')] test_evaluator = val_evaluator
Reproduces the problem - command or script
No response
Reproduces the problem - error message
No response
Additional information
No response