问题:把EMA模块加入到yolov8时出现 KeyError: 'EMA' 原因:使用了 pip install ultralytics 解决: 1.卸载pip uninstall ultralytics 2.安装python setup.py install 然后就可以成功运行咯