github开源项目https://github.com/ethereon/caffe-tensorflow可以帮助深度学习研究员将caffe的网络模型转换成tensorflow模型,同时转换训练好的参数。
不过使用过程发现有几点需要注意:
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.