-
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
opt tool - Only version 0 is supported #4763
Comments
Are you linking your project to Paddle-Lite static library /////////////////////////////////////////////////////////////////////////
// If this demo is linked to static libaray:libpaddle_api_light_bundled.a
// , you should include `paddle_use_ops.h` and `paddle_use_kernels.h`.
/////////////////////////////////////////////////////////////////////////
#include "paddle_use_kernels.h" // NOLINT
#include "paddle_use_ops.h" // NOLINT |
Works like a charm! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Having issue #4560, I followed the given answer.
1 + 2) Done -> succes.
3) Get original model
Install PaddlePaddle v2.0.0-rc0 + PaddleHub v1.8.1 ->succes.
Got test_program
Loaded the mask_detector in opt tool and got this error:
Note: same Only version 0 is supported error is given with the model is generated by PaddlePaddle v1.8.5, as being the latest stable version.
The text was updated successfully, but these errors were encountered: