根据yolo大作战yolov8水果分类例程一步步操作,当运行到:
(onnx2kmodel) D:\code\python\yolov8test\yolov8\classify>python to_kmodel.py --target k230 --model ../../runs/classify/train/weights/best.onnx --dataset ../test --input_width 224 --input_height 224 --ptq_option 0
时出错,提示内容:
Traceback (most recent call last):
File "D:\code\python\yolov8test\yolov8\classify\to_kmodel.py", line 7, in
import nncase
File "D:\anaconda3\envs\onnx2kmodel\lib\site-packages\nncase_init_.py", line 34, in
import _nncase
ImportError: DLL load failed while importing _nncase: 找不到指定的模块。
软件环境:python 3.10, nncase2.9.0是pip install安装的,nncase_kpu-2.9.0是手动whl安装的
请问这是什么情况呀