程序运行有结果,但是最后爆出错误。
错误如下;
Exception ignored in: <bound method BaseSession.__del__ of <tensorflow.python.client.session.Session object at 0x0000029C66604668>>
Traceback (most recent call last):
File "C:\Users\Administrator\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 712, in __del__
File "C:\Users\Administrator\Anaconda3\lib\site-packages\tensorflow\python\framework\c_api_util.py", line 31, in __init__
TypeError: 'NoneType' object is not callable
解决方法:删除缓存文件,再次运行没有错误