安装tensorflow
2016-07-27 11:01
316 查看
前面安装了caffe,所以已经安装了anaconda,如果没有装这个,要先装anaconda。
直接pip安装
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
出现的问题
TypeError: init() got an unexpected keyword argument ‘syntax’
解决方法:
pip uninstall protobuf
pip uninstall tensorflow
brew uninstall protobuf
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
打开python
如果这个时候打开的python不是在anaconda里面需要重新生效/.bashrc
source ~/.bashrc
安装成功
直接pip安装
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
出现的问题
TypeError: init() got an unexpected keyword argument ‘syntax’
解决方法:
pip uninstall protobuf
pip uninstall tensorflow
brew uninstall protobuf
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
打开python
import google.protobuf >>> print google.protobuf.__version__ 3.0.0a4 >>> import tensorflow
如果这个时候打开的python不是在anaconda里面需要重新生效/.bashrc
source ~/.bashrc
安装成功
相关文章推荐
- TensorFlow 的简单例子
- C#使用Protocol Buffer(ProtoBuf)进行Unity中的Socket通信
- python如何通过protobuf实现rpc
- Python科学计算环境推荐――Anaconda
- 我的Protobuf消息设计原则
- 化繁为简--google protobuf
- c++ java中关于protobuf反序列化对象实体和实体处理(函数)关系 (一)
- c++ java中关于protobuf反序列化对象实体和实体处理(函数)关系(二)
- Google 的开源技术protobuf 简介与例子
- Some Notes of Protocol Buffer C++
- TensorFlow人工智能引擎入门教程之九 RNN/LSTM循环神经网络长短期记忆网络使用
- TensorFlow人工智能引擎入门教程之十 最强网络 RSNN深度残差网络 平均准确率96-99%
- TensorFlow人工智能入门教程之十一 最强网络DLSTM 双向长短期记忆网络(阿里小AI实现)
- TensorFlow人工智能引擎入门教程之十二 Caffe转换tensorflow并 跨平台调用
- TensorFlow人工智能入门教程之十三 RCNN 区域卷积网络(视频侦测分析人脸侦测区域检测 )
- TensorFlow人工智能入门教程之十四 自动编码机AutoEncoder 网络
- TensorFlow人工智能引擎入门教程所有目录
- Tensorflow 问题
- Tensorflow 深度学习分布式实现方式