tensorflow代码运行的最后抛出异常:TypeError: 'NoneType' object is not callable

 
  
tensorflow代码运行的最后抛出异常:
问题:
Exception ignored in: >
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()

你可能感兴趣的:(Trouble,Shooting)