未验证 提交 9f4dc577 编写于 作者: S SunAhong1993 提交者: GitHub

Update add_caffe_custom_layer.md

上级 f439f177
...@@ -55,3 +55,11 @@ bash ./toos/compile.sh /home/root/caffe/src/caffe/proto ...@@ -55,3 +55,11 @@ bash ./toos/compile.sh /home/root/caffe/src/caffe/proto
from . import mylayer from . import mylayer
``` ```
***步骤三 运行转换代码***
```
x2paddle --framework=caffe
--prototxt=deploy.proto
--weight=deploy.caffemodel
--save_dir=pd_model
--caffe_proto=/home/root/caffe/src/caffe/proto/caffe_pb2.py
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册