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

尝试对预训练好的模型进行int8量化失败 #9

Open
kinier88 opened this issue Sep 3, 2024 · 3 comments
Open

尝试对预训练好的模型进行int8量化失败 #9

kinier88 opened this issue Sep 3, 2024 · 3 comments

Comments

@kinier88
Copy link

kinier88 commented Sep 3, 2024

$ ncnn2table flownet-opt.param flownet-opt.bin imagelist.txt flownet.table 'mean=[104.0,117.0,123.0]' 'norm=[1.0,1.0,1.0]' 'shape=[227,227,3]' pixel=BGR method=kl

layer rife.Warp not exists or registered
zsh: segmentation fault ncnn2table flownet-opt.param flownet-opt.bin imagelist.txt flownet.table

@TNTwise
Copy link
Owner

TNTwise commented Sep 3, 2024

rife.Warp is a custom layer specific to this repo, you can't convert the models to anything else.

rife.Warp 是此 repo 特有的自定义层,您不能将模型转换为其他任何东西。

@kinier88
Copy link
Author

kinier88 commented Sep 3, 2024

请问是不是需要对将POW算子替换成rife.Warp前的模型进行int8量化后,再替换rife.Warp算子才行?建议仓库提供int8量化后模型

@TNTwise
Copy link
Owner

TNTwise commented Sep 3, 2024

sorry, i dont know how to do that, as i am not the original author of this repo, i just convert new models

抱歉,我不知道该怎么做,因为我不是这个 repo 的原作者,我只是转换新模型

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

2 participants