when i run rnnrbm_mnist.py test program I got this error
Solved!Posted in General by kwang nam Mon Aug 31 2015 12:27:12 GMT+0000 (Coordinated Universal Time)·3·Viewed 3,682 times
INFO:opendeep.optimization.optimizer:Train monitors: {'crossentropy/train': 0.45665097, 'error/train': 0.17261043}
Traceback (most recent call last):
File "/home/elliotnam/workspace2/facerecognition/rnnrbm_mnist.py", line 95, in <module>
run_sequence(1)
File "/home/elliotnam/workspace2/facerecognition/rnnrbm_mnist.py", line 54, in run_sequence
optimizer.train(plot=plot)
File "/usr/local/lib/python2.7/dist-packages/opendeep-0.0.9a0-py2.7.egg/opendeep/optimization/optimizer.py", line 391, in train
self.STOP = self._perform_one_epoch(train_function, plot)
File "/usr/local/lib/python2.7/dist-packages/opendeep-0.0.9a0-py2.7.egg/opendeep/optimization/optimizer.py", line 464, in _perform_one_epoch
plot.update_plots(epoch=self.epoch_counter, monitors=current_mean_monitors)
File "/usr/local/lib/python2.7/dist-packages/opendeep-0.0.9a0-py2.7.egg/opendeep/monitor/plot.py", line 213, in update_plots
line_color=self.colors[color_idx % len(self.colors)])
File "/home/elliotnam/.local/lib/python2.7/site-packages/bokeh/_glyph_functions.py", line 37, in func
glyph = _make_glyph(glyphclass, kwargs, glyph_ca)
File "/home/elliotnam/.local/lib/python2.7/site-packages/bokeh/plotting_helpers.py", line 144, in _make_glyph
return glyphclass(**kws)
File "/home/elliotnam/.local/lib/python2.7/site-packages/bokeh/plot_object.py", line 90, in __init__
super(PlotObject, self).__init__(**kwargs)
File "/home/elliotnam/.local/lib/python2.7/site-packages/bokeh/properties.py", line 357, in __init__
setattr(self, name, value)
File "/home/elliotnam/.local/lib/python2.7/site-packages/bokeh/properties.py", line 371, in __setattr__
(name, self.__class__.__name__, text, nice_join(matches)))
AttributeError: unexpected attribute 'y_axis_label' to Line, possible attributes are line_alpha, line_cap, line_color, line_dash, line_dash_offset, line_join, line_width, name, session, tags, visible, x or y
what version of bokeh do you have?
Versuon is Bokeh 0.9.3 thx
Ah I am fixing this bug for compatability with the new version of bokeh with the next opendeep update. If you want an immediate fix, install bokeh version 0.8.2 or you can go to opendeep.monitor.plot.py and remove these arguments on lines 211 and 212:
x_axis_label='iterations', y_axis_label='value'
marked this as solved