重现步骤
我按照文档中yolov8水果分类的步骤进行验证,在最后一步onnx转kmodel时会有一些warning
warn: Nncase.Hosting.PluginLoader[0]
NNCASE_PLUGIN_PATH is not set.
E:\pycharmfile\pythonProject2\test_yolov8\classify\to_kmodel.py:24: DeprecationWarning: mapping.TENSOR_TYPE_TO_NP_TYPE
is now deprecated and will be removed in a future release.To silence this warning, please use helper.tensor_dtype_to_np_dtype
instead.
input_dict['dtype'] = onnx.mapping.TENSOR_TYPE_TO_NP_TYPE[onnx_type.elem_type]
WARNING: The argument input_shapes
is deprecated. Please use
overwrite_input_shapes
and/or test_input_shapes
instead. An error will be
raised in the future.
但能生成kmodel文件,但效果很差,检查置信度后只有0.4左右,请问该如何调整。
期待结果和实际结果
是不是因为nncase环境变量没有设置,但是我已经设置了好几次环境变量也没有成功设置进去,如果有设置环境变量的教程也可提供一下,感激不尽。
软硬件版本信息
错误日志
尝试解决过程
补充材料