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

Update README.md

上级 d2690a04
......@@ -69,8 +69,22 @@ bash tools/diff.sh alexnet ../../alexnet.prototxt \
2. 添加`import mylayer``kaffe/custom_layers/__init__.py`
3. 准备你的pycaffe作为你的定制版本(与以前的env准备相同)
> 选择一:1. 编译你自己的caffe.proto来代替proto/caffe.proto
2. 修改./kaffe/caffe/resolver.py
> 选择一:
1. 编译你自己的caffe.proto来代替proto/caffe.proto
2. 修改./kaffe/caffe/resolver.py
```python
try:
# Try to import PyCaffe first
import caffe
self.caffe = caffe
except ImportError:
# Fall back to the protobuf implementation
self.caffepb = import_caffepb()
show_fallback_warning()
# 将上述代码替换为
self.caffepb = import_caffepb()
show_fallback_warning()
```
> 选择二:更换你的pycaffe到特定的版本
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册