-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error on building Optimization tool #1
Comments
The GNU error is too general to suggest the course. It can be almost anything. Fortunately, the models provide can be used. |
Hi, Same error! I have a custom ocr model in paddleocr_v4 and i need to convert with optimizer.
Paddle paddle lite installed normally. Only optimizer has an error. |
@Qengineering I achieved! I downloaded the pre-compiled file from the official paddle lite github. For anyone else having this same problem, just download the opt compiled for aarch64 from the following link: Release v2.13-rc (https://github.com/PaddlePaddle/Paddle-Lite/releases/tag/v2.13-rc) Example:
|
Thank you! You're a life saver! |
According to your guide I modified
Paddle-Lite/lite/tools/build_linux.sh
file.But when I build it with
./lite/tools/build_linux.sh --arch=armv8 --with_extra=ON --with_cv=ON build_optimize_tool
I got this error:[90%] Building CXX object lite/kernels/CMakeFiles/kernels.dir/__/__/all_kernel_faked_dir/yolo_box_kXPU_kFloat_kNCHW_def_class.cc.o
[ 90%] Linking CXX static library libkernels.a
[ 90%] Built target kernels
make[1]: *** [CMakeFiles/Makefile2:1605: lite/api/CMakeFiles/opt.dir/rule] Error 2
make: *** [Makefile:436: opt] Error 2
How can I fix this?
Thanks in advance
The text was updated successfully, but these errors were encountered: