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

请问为什么换个自己的模型就不能使用vulkan了? #46

Open
dzcmingdi opened this issue Oct 20, 2022 · 3 comments
Open

请问为什么换个自己的模型就不能使用vulkan了? #46

dzcmingdi opened this issue Oct 20, 2022 · 3 comments

Comments

@dzcmingdi
Copy link

您好,我用了自己导出的yolov5n的模型,然后用GPU推理的时候,提示

W/ncnn: set_vulkan_compute failed, network use_vulkan_compute disabled

但是用仓库代码原本的模型就没问题,这是为什么呢?

@nihui
Copy link
Owner

nihui commented Oct 20, 2022

load_param 前设置 net.opt.use_vulkan_compute = true;

@WhateverSir
Copy link

load_param 前设置 net.opt.use_vulkan_compute = true;

设置了,还是会报错,我的模型是INT8的yolov5s,什么原因?

@154775258
Copy link

使用int8 模型是 会报 set_vulkan_compute failed, network use_vulkan_compute disabled fp16 和fp32 就能正常使用 windows端使用的ncnn

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