-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yolov8模型量化后,量化未报错,加载模型推理报错,MNN tool无法打开模型,nerton提示weights参数是空 #2763
Comments
用 MNNV2Basic 测试下看看 nerton 里面 weight 为空是正常的,对应是替换为 buffer |
另外检查下 yolov8_demo 所用的 mnn 库是否是最新代码编译的 |
@jxt1234 已将最新的编译生成的库文件复制过去使用,还是同样的错误 |
mnn 是什么时候的版本? 那个 yolov8_quant.mnn 发一下看看 |
mnn文件已经发送到您的邮箱: |
看上去是 unary 量化出错了,定位中 |
yolov5的量化后的模型也出错了,量化前的模型是可以正常运行的,量化后出现以下错误:
@jxt1234 |
已修复,等版本更新 |
2.8.2 修正,需要重新量化模型 |
平台(如果交叉编译请再附上交叉编译目标平台):
Platform(Include target platform as well if cross-compiling):
mac(m1)
Github版本:
Github Version:
直接下载ZIP包请提供下载日期以及压缩包注释里的git版本(可通过
7z l zip包路径
命令并在输出信息中搜索Comment
获得,形如Comment = bc80b11110cd440aacdabbf59658d630527a7f2b
)。 git clone请提供git commit
第一行的commit idProvide date (or better yet, git revision from the comment section of the zip. Obtainable using
7z l PATH/TO/ZIP
and search forComment
in the output) if downloading source as zip,otherwise provide the first commit id from the output ofgit commit
编译方式:
Compiling Method
编译日志:
Build Log:
量化配置文件
量化日志
使用浮点模型推理:
使用量化后的模型推理:
MNN工作台无法打开量化后的模型提示如下:
Nerton可以打开,但是weights里面为空:
目前看来可能是模型量化过程存在问题,但是量化工具提示量化完成,希望能得到您的尽快回复~~感谢🙏
The text was updated successfully, but these errors were encountered: