训练时 报TypeError: 'NoneType' object is not callable
Exception ignored in: <bound method BaseSession.__del__ of <tensorflow.python.client.session.Session object at 0x7f85b597cac8>>
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 738, in __del__
解决 在训练代码里加入如下内容 后可正常训练
from keras import backend as K K.clear_session()
参考 stackoverflow.
https://stackoverflow.com/questions/40560795/tensorflow-attributeerror-nonetype-object-has-no-attribute-tf-deletestatus