running a Dense feed-forward neural net in Keras. there are class_weights for two outputs, and sample_weights for a third output. fore some reason it prints the progress ver
The workaround of androst (4 Jan 2017) did not work for me. However, I found out that the lines of code which androst cited from generic_utils.py were never executed when I ran my code, because the condition in the embracing "if-clause" was always False. When I out-commented the if-clause, and set the corresponding variable (manually) to "True", it worked.
This is what I changed (for me: lines 311-314 of generic_utils.py):
#self._dynamic_display = ((hasattr(sys.stdout, 'isatty') and
# sys.stdout.isatty()) or
# 'ipykernel' in sys.modules)
self._dynamic_display = True # inserted to overwrite the above (workaround by KS)
Then the progress bar worked nicely :-)