-
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
模型(sdv1.4) onnx-> mnn Convert 异常 #2477
Comments
链接: https://pan.baidu.com/s/1VMeqBGQ-6N92gy7WhcJa6A?pwd=k2j7 提取码: k2j7 |
只是这个 “Not support data type” 属于异常,其他log 是正常的,可以先用 testMNNFromOnnx.py 校验。 |
@jxt1234 我的unet是想转换成fp16,所以在转换为onnx的时候转换成了 fp1.6G大小的文件,按照您回复的意思是不是应该转换成onnx时保持fp32,然后通过mnn的转换工具转换成fp16,另外我记得onnx如果文件大于2gb,会拆分成一个.onnx和weights.pb,这种情况下mnnconvert这个工具该如何使用呢?谢谢您的回复 |
这种情况仍然传 XXX.onnx 就可以,会自动读取 weights.pb 的信息 |
onnx fp16 在 2.7.0 已经支持 |
平台(如果交叉编译请再附上交叉编译目标平台):
Platform(Include target platform as well if cross-compiling):
Linux
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:
The text was updated successfully, but these errors were encountered: