-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
nb模型精度比inference模型差很多 #10632
Comments
具体使用什么方式转的模型呢? |
paddle_lite_opt --model_file=./inference/v3_score_mobile/inference.pdmodel --param_file=./inference/v3_scormobile/inference.pdiparams --optimize_out_type=naive_buffer --optimize_out=./inference/v3_score_mobile_arm_noquant --valid_targets=arm |
解决了。是图像预处理的问题。现在没量化的nb模型推理结果是准确的,但int8模型返回的是nan。 |
测试了5张图,inference推理的结果:
nb模型(没做量化)推理结果:
The text was updated successfully, but these errors were encountered: