Yiqun Liu

Results 57 comments of Yiqun Liu

你是自己编译的Paddle库吧,我们最近Paddle库有更新,现在`third_party/protobuf/lib`下面安装的是`libprotobuf-lite.a`,实际上我们也只需要链接`libprotobuf-lite.a`就够了,抱歉demo没有来得及更新。修改如下: 文件https://github.com/PaddlePaddle/Mobile/blob/develop/benchmark/tool/C/FindPaddle.cmake#L12 ,将`-lprotobuf`改成`-lprotobuf-lite`

您好,感谢您对PaddlePaddle的关注。PaddlePaddle有支持CoreML的计划,只是由于人力和资源方面的原因,不能马上支持,敬请谅解。

# How to link PaddlePaddle in an iOS application - Copy the PaddlePaddle's library to your project root - Add the `include` directory to **Header Search Paths** ![image](https://user-images.githubusercontent.com/12538138/32491809-b215cf7a-c37d-11e7-87f8-3d45f07bc63e.png) - Add...

请参考https://github.com/PaddlePaddle/Mobile/blob/develop/deployment/model/merge_config_parameters/README.cn.md

有两个可能: - 一个是没有使用`-force_load`链接,文档[如何链接PaddlePaddle库](https://github.com/PaddlePaddle/Mobile/blob/develop/Demo/iOS/AICamera/README.cn.md#%E5%A6%82%E4%BD%95%E9%93%BE%E6%8E%A5paddlepaddle%E5%BA%93) - 一个是没有调用`paddle_init`函数 https://github.com/PaddlePaddle/Mobile/blob/477186702e368a55c6a3319f2b78257c7c0ac51d/Demo/iOS/AICamera/AICamera/paddle_image_recognizer.h#L71-L71

哦~想起来了,之前为了最小化paddle库的大小,把`recurrent_layer_group`相关实现移除了。。。你们对paddle库的大小有要求么?

这个问题,早期的版本修复过,会使用`str_value`来传递值,以下是2.2分支中的实现: https://github.com/PaddlePaddle/Paddle/blob/0ee230a7d3177f791d2a5388ab4dffdccc03f4aa/paddle/fluid/operators/fill_constant_op.h#L39-L70 https://github.com/PaddlePaddle/Paddle/blob/0ee230a7d3177f791d2a5388ab4dffdccc03f4aa/python/paddle/fluid/layers/tensor.py#L716-L722