Closed rizar closed 9 years ago
One unfortunate thing about this PR is that at least with Bokeh 0.10 it gives the following error, even though it does not crash and plots fine:
ERROR:/home/rizar/.local/lib/python2.7/site-packages/bokeh/validation/check.pyc:W-1001 (NO_GLYPH_RENDERERS): Plot has no glyph renderers: Figure, ViewModel:Plot, ref _id: c22a9321-7ee2-4945-be76-7aca351861a0
@dwf , any ideas?
I just realized that the Plot extension is not even in Blocks-extras. I am going to fix that before moving forward with this PR.
@dmitriy-serdyuk , @dwf , this is ready for review!
LGTM. Do you still have that error?
I still have this error, but now I understand why.
We have two types of monitoring in MNIST demo. DataStreamMonitoring
is run before the first epoch. TrainingDataMonitoring
, obviously, isn't, because that makes no sense. However, Plot
is called before the first epoch. So it has nothing to plot in some of channels.
I do not know how to fix this, because in general it makes a lot of sense to display validation cost before the first epoch.
But I don't like the idea of holding this PR for this reason, because people have not been able to use Bokeh for a few months.
Bokeh 0.10 has been released! The only thing left is to ensure that we are compatible with it.