Segmentation fault (core dumped) 在predictor = paddle_infer.create_predictor(config) 前面加上代码
在create_paddle_predictor时core dump。使用gdb查看core的位置如下: Thread 1 "python" received signal SIGSEGV, Segmentation fault. 0x00007fffa9bcb56b in paddle::framework::VarDesc::GetLoDLevel() const () from /home/bwang/anaconda3/envs/paddle/lib/python3.7/site-packages/paddle/fluid/core_avx....
· WANG Xiao-wen, LIU Shuai, WANG Jin-rong (1836) Fixed-time predictor-based path following control of unmanned surface vehicles ··· WANG Shan-dan, SUN Meng-wei, LIU Jian, SUN Chang-yin (1845) Target tracking and obstacle clearing with multi-agent expert strategy gradient ··· SUN...
Segmentation fault 加载模型的函数如下: config.set_model_from_file(model_file); predictor =CreatePaddlePredictor(config); AIpioneercommentedNov 4, 2020 根据用户反馈,后来将预测库改为with_extra之后,可以跑通。 这里需要paddle lite改进报错信息,给用户更好的提示。