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

Update README.md

上级 ba2f493a
...@@ -49,14 +49,9 @@ with tf.Session() as sess: ...@@ -49,14 +49,9 @@ with tf.Session() as sess:
### 步骤三 模型转换 ### 步骤三 模型转换
``` ```
git clone https://github.com/PaddlePaddle/X2Paddle.git x2paddle --framework=tensorflow \
cd X2Paddle --model=../vgg16.pb \
git checkout develop --save_dir=paddle_model
export PYTHONPATH=${PWD}
mkdir paddle_model
python x2paddle/convert.py --framework=tensorflow \
--model=../vgg16.pb \
--save_dir=paddle_model
``` ```
## 转换caffe SqueezeNet模型 ## 转换caffe SqueezeNet模型
...@@ -69,12 +64,7 @@ wget https://github.com/DeepScale/SqueezeNet/blob/master/SqueezeNet_v1.1/deploy. ...@@ -69,12 +64,7 @@ wget https://github.com/DeepScale/SqueezeNet/blob/master/SqueezeNet_v1.1/deploy.
### 步骤二 模型转换 ### 步骤二 模型转换
``` ```
git clone https://github.com/PaddlePaddle/X2Paddle.git x2paddle --framework=caffe \
cd X2Paddle --weight=../squeezenet_v1.1.caffemodel \
git checkout develop --proto =../deploy.prototxt \
export PYTHONPATH=${PWD}:$PYTHONPATH --save_dir=paddle_model
mkdir paddle_model
python x2paddle/convert.py --framework=caffe \
--weight=../squeezenet_v1.1.caffemodel \
--proto =../deploy.prototxt \
--save_dir=paddle_model
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册