一、更换国内镜像安装:
一般安装为pip install tensorflow
更换之后为:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow
若要指定版本则 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow==1.0
二、版本中的问题:
TypeError: while_loop() got an unexpected keyword argument 'maximum_iterations'
当使用Bilstm层的时候
Use Keras 2.1.2 Tensorflow 1.4.1 更换版本即可。这是版本中的问题。