KeyError: ‘mmrotate.RotLocalVisualizer is not in the visualizer registry.

问题

今天用MMyolo训练RTMDet模型的时候,报错:

KeyError: ‘mmrotate.RotLocalVisualizer is not in the visualizer registry. Pleasecheck whether the value of mmrotate .RotLocalvisualizer is correct or it wasregistered as expected. More details can be found athttps://mmengine.readthedocs.io/en/latest/advanced tutorials/config.html#import-the-custom-module’

KeyError: ‘mmrotate.RotLocalVisualizer is not in the visualizer registry._第1张图片

解决

安装1.x版本的MMRotate

pip install mmrotate==1.0.0rc1 .

然后就训练成功了

你可能感兴趣的:(计算机视觉)