未验证 提交 f09f9980 编写于 作者: J Jason 提交者: GitHub

Update README.md

上级 ad43cfce
...@@ -45,11 +45,13 @@ Model|Pre-trained Model|Diff ...@@ -45,11 +45,13 @@ Model|Pre-trained Model|Diff
### 例:将inception_v3模型转换至PaddlePaddle ### 例:将inception_v3模型转换至PaddlePaddle
```Bash ```Bash
# 下载inception_v3预训练模型 # 下载并解压inception_v3预训练模型
wget http://download.tensorflow.org/models/inception_v3_2016_08_28.tar.gz wget http://download.tensorflow.org/models/inception_v3_2016_08_28.tar.gz
tar xzvf http://download.tensorflow.org/models/inception_v3_2016_08_28.tar.gz tar xzvf http://download.tensorflow.org/models/inception_v3_2016_08_28.tar.gz
# 将下载的预训练模型转存为check_point # 将下载的预训练模型转存为check_point
python demo/inception_v3/export_to_checkpoint.py inception_v3.py checkpoint python demo/inception_v3/export_to_checkpoint.py inception_v3.py checkpoint
# 将check_point模型转换为PaddlePaddle可加载运行的模型 # 将check_point模型转换为PaddlePaddle可加载运行的模型
python convert.py --meta_file checkpoint/model.meta \ python convert.py --meta_file checkpoint/model.meta \
--ckpt_dir checkpoint \ --ckpt_dir checkpoint \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册