tensorflow代码运行的最后抛出异常:TypeError: 'NoneType' object is not callable
tensorflow
一个面向所有人的开源机器学习框架
项目地址:https://gitcode.com/gh_mirrors/te/tensorflow
免费下载资源
·
tensorflow代码运行的最后抛出异常:
问题: Exception ignored in: <bound method BaseSession.__del__ of <tensorflow.python.client.session.Session object at 0x7f15b0500400>> Traceback (most recent call last): File "/home/raini/app/anoconda3/envs/py35/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 696, in __del__ TypeError: 'NoneType' object is not callable
导入下面两条代码就行:
from keras import backend as K K.clear_session()
GitHub 加速计划 / te / tensorflow
184.55 K
74.12 K
下载
一个面向所有人的开源机器学习框架
最近提交(Master分支:2 个月前 )
a49e66f2
PiperOrigin-RevId: 663726708
2 个月前
91dac11a
This test overrides disabled_backends, dropping the default
value in the process.
PiperOrigin-RevId: 663711155
2 个月前
更多推荐
已为社区贡献6条内容
所有评论(0)