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

最新ncnn代码, 推理模型加载报错 #7

Open
DickyQi opened this issue Apr 6, 2022 · 4 comments
Open

最新ncnn代码, 推理模型加载报错 #7

DickyQi opened this issue Apr 6, 2022 · 4 comments

Comments

@DickyQi
Copy link

DickyQi commented Apr 6, 2022

更新最近的ncnn代码,加载模型后异常,报错param is too old, please regenerate! 具体位置是Reduction layer加载出错。

@FeiGeChuanShu
Copy link
Owner

reduction中加了新的参数,自己改一下param加上即可

@Dtouch24680
Copy link

请问要怎么改下param呢,刚入手ncnn不久不是很懂,求指点。

@Kyhero-ai
Copy link

同问,参数怎么修改 ,感谢

@HolmesShuan
Copy link

@DickyQi @Dtouch24680 @Kyhero-ai

请将 rvm-512.param 中的

Reduction ReduceMean_611 1 1 src2_splitncnn_2 1088 0=3 1=0 -23303=1, 4=1
Concat Concat_612 2 1 src2_splitncnn_1 1088 1089
Reduction ReduceMean_613 1 1 390_splitncnn_1 1090 0=3 1=0 -23303=1, 4=1

修改为

Reduction ReduceMean_611 1 1 src2_splitncnn_2 1088 0=3 1=0 -23303=1,0 4=1 5=1
Concat Concat_612 2 1 src2_splitncnn_1 1088 1089
Reduction ReduceMean_613 1 1 390_splitncnn_1 1090 0=3 1=0 -23303=1,0 4=1 5=1

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

5 participants