diff --git a/docs/demo_guides/python_demo.md b/docs/demo_guides/python_demo.md index 4370a6fbbfb95e68b131cc4bb1a7d51877938655..d6a7b15bd9be638ef586e6b589e35eecbf1613c2 100644 --- a/docs/demo_guides/python_demo.md +++ b/docs/demo_guides/python_demo.md @@ -77,7 +77,7 @@ python demo 完整代码位于 [demo/python](https://github.com/PaddlePaddle/Pad from paddlelite.lite import * config = MobileConfig() -config.set_model_dir(/YOU_MODEL_PATH/mobilenet_v1_opt.nb) +config.set_model_from_file(/YOU_MODEL_PATH/mobilenet_v1_opt.nb) ``` (2) 创建predictor