You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I modify the config like this as tutorial:
val_evaluator = [
dict(type='AveragePrecision'),
dict(type='MultiLabelMetric', average='macro'), # class-wise mean
dict(type='MultiLabelMetric', average='micro'), # overall mean
]
The text was updated successfully, but these errors were encountered:
Branch
main branch (mmpretrain version)
Describe the bug
AveragePrecision is not in the mmengine::metric registry. Please check whether the value of
AveragePrecision
is correct or it was registered as expected. More details can be found at https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html#import-the-custom-module'Environment
{'sys.platform': 'linux',
'Python': '3.8.8 (default, Feb 24 2021, 21:46:12) [GCC 7.3.0]',
'CUDA available': True,
'numpy_random_seed': 2147483648,
'GPU 0': 'Tesla V100-PCIE-32GB',
'CUDA_HOME': None,
'GCC': 'gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0',
'PyTorch': '1.8.0',
'TorchVision': '0.9.0',
'OpenCV': '4.5.3',
'MMEngine': '0.8.5',
'MMCV': '2.0.1',
'MMPreTrain': '1.1.1+e95d9ac'}
Other information
I modify the config like this as tutorial:
val_evaluator = [
dict(type='AveragePrecision'),
dict(type='MultiLabelMetric', average='macro'), # class-wise mean
dict(type='MultiLabelMetric', average='micro'), # overall mean
]
The text was updated successfully, but these errors were encountered: