记录yolo v8模型训练后使用.pt模型推理正常 改用转换后的.onnx模型推理出现WARNING ⚠️ Unable to automatically guess model task, assu
yolov8版本:‘8.0.228’出现错误:WARNING⚠️Unabletoautomaticallyguessmodeltask,assuming'task=detect'.Explicitlydefinetaskforyourmodel,i.e.'task=detect','segment','classify',or'pose'.解决办法:将训练出的模型名字best.pt修改为best-