-
Notifications
You must be signed in to change notification settings - Fork 166
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
tensorflow如何快速转ncnn #27
Comments
可以试下这两种方法:
我尝试了这两个方法,方法1没成功,方法2能成功转onnx, 但onnx转ncnn会有些op不支持,你可以试一下。成功了告诉我一下哈~ |
已经转换成ncnn,1.0系数的pfld在pc端40ms左右,0.25系数的pfld在pc端10多ms左右,但精度损失还蛮严重的,在速度和精度上可以折衷的还有什么好的办法嘛 |
请教一下你是怎么转成ncnn的,我折腾了好久还是不成功,有没有教程。精度方面0.25损失严重的话,你可以试下0.75,然后再使用量化,感觉这样会好点。 |
用pytorch代码重新实现,然后转onnx,并最后转成ncnn。正在做量化中。。。 |
还要用pytorch重新写,有点麻烦,后面我也试一下。 |
可以考虑转换为MNN,阿里的一个开源库 |
@liguiyuan,@github-luffy 你们转的模型是自己训的吗 |
@zys1994 模型训好后,转成ncnn的 |
@liguiyuan 想问一下转onnx遇到这个问题是为啥呢... During handling of the above exception, another exception occurred: Traceback (most recent call last): |
mark |
有谁有办法转成ncnn模型嘛
The text was updated successfully, but these errors were encountered: