caffe to tensorflow 工具几点注意事项

github开源项目https://github.com/ethereon/caffe-tensorflow可以帮助深度学习研究员将caffe的网络模型转换成tensorflow模型,同时转换训练好的参数。

不过使用过程发现有几点需要注意:

  
1   caffe-tensorflow has to be inside your PYTHONPATH so python can find the modules.You can either edit the PYTHONPATH enviroment variable inside your .bashrc. For example:
    export PYTHONPATH='/path/to/caffe-tensorflow'

 2   TypeError: Descriptors should not be created directly, but only retrieved from their parent

   I was having this issue,when I run convert. The solution is to rename the caffepb.py to caffe_pb2.py at caffe-tensorflow/kaffe/caffe. Remove the pyc files in the folder and run convert again.Possible reason for this might be some python module name conflicts.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值