minerva-ml / minerva-training-materials

Learn advanced data science on real-life, curated problems
https://neptune.ml/minerva
MIT License
48 stars 14 forks source link

error "TypeError: 'NoneType' object is not callable" after the experiment #28

Closed buus2 closed 6 years ago

buus2 commented 6 years ago

For python run_minerva.py -- dry_run --problem fashion_mnist in the end I obtain


Test score is 0.9067
That is a solid validation
Congrats you solved the task!
Exception ignored in: <bound method BaseSession.__del__ of <tensorflow.python.client.session.Session object at 0x7f35e6e7cb38>>
Traceback (most recent call last):
  File "/home/patryk.miziula/Minerva/minerva_venv/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 595, in __del__
TypeError: 'NoneType' object is not callable```
jakubczakon commented 6 years ago

It was a tensorflow bug.

One needs to K.clear_session() after to remove it.

Fixed, waiting for PR to merge

kamil-kaczmarek commented 6 years ago

@buus2 merged with Bug 28