Skip to content
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

RuntimeError: "slow_conv2d_cpu" not implemented for 'Half' #1

Open
Baiyuetribe opened this issue Mar 2, 2023 · 3 comments
Open

RuntimeError: "slow_conv2d_cpu" not implemented for 'Half' #1

Baiyuetribe opened this issue Mar 2, 2023 · 3 comments

Comments

@Baiyuetribe
Copy link

用colab进行转换,报错了,完整的ipynb如下
https://gist.github.com/Baiyuetribe/6109dd92842cd28d3bf1b445f81a7ba5

@ClashSAN
Copy link

https://github.com/XFY9326/ncnn-tools-docker

i successfully did pnnx to ncnn with it.

@zylo117
Copy link

zylo117 commented Mar 24, 2023

用colab进行转换,报错了,完整的ipynb如下 https://gist.github.com/Baiyuetribe/6109dd92842cd28d3bf1b445f81a7ba5

害,一样的问题,你的模型是fp16的,但是你给模型是dummy输入却是默认的fp32,对不上就报错呗

@Xwmiss
Copy link

Xwmiss commented Jun 21, 2023

用colab进行转换,报错了,完整的ipynb如下 https://gist.github.com/Baiyuetribe/6109dd92842cd28d3bf1b445f81a7ba5

害,一样的问题,你的模型是fp16的,但是你给模型是dummy输入却是默认的fp32,对不上就报错呗

请问你最后用的是fp16的模型吗,我在导出diffusion模型的时候指定了fp16的计算类型,并在pnnx转换时给顶了输入为inputshape=[1,4,64,64]f16,但是还是出现了上诉问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants