【发布时间】:2017-07-28 09:40:50
【问题描述】:
我确实按照Keras documentation page 上的说明更改了keras.json 文件。但是在我的 Ipython notebook 中,它仍然说我使用 Tensorflow 作为后端。
也许它与 Jupyter 设置有关?请帮助。我什至不知道如何弄清楚问题出在哪里。谢谢!
【问题讨论】:
-
见this。
-
感谢@ParagS.Chandakkar。但是它对我不起作用。当我执行
keras.backend.backend()时,它仍然显示tensorflow。也许我可以通过卸载 tensorflow 来解决这个问题? -
你试过KERAS_BACKEND=theano jupyter notebook --no-browser --ip xxx.xxx.xxx.xxx吗?然后 keras.backend.set_image_dim_ordering('tf')
-
您是否尝试将其关闭再打开?
-
@maz 不,我没有。按照您的建议,我应该使用什么 ip 地址来替换 xxx.xxx.xxx.xxx?
标签: python deep-learning theano ipython-notebook keras