Keras 简单程序测试,出现如下错位,请问如何解决:
Apple@Host~/test$ python3 kt.py
Using Theano backend.
Iteration 1
Train on 0 samples, validate on 0 samples
Epoch 1/2
Traceback (most recent call last):
File "ktest2.py", line 189, in
model.fit(inputs, labels, batch_size=batch_size, nb_epoch=2, validation_split = 0.1)
File "/usr/local/lib/python3.5/dist-packages/keras/models.py", line 672, in fit
initial_epoch=initial_epoch)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 1196, in fit
initial_epoch=initial_epoch)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 911, in _fit_loop
callbacks.on_epoch_end(epoch, epoch_logs)
File "/usr/local/lib/python3.5/dist-packages/keras/callbacks.py", line 76, in on_epoch_end
callback.on_epoch_end(epoch, logs)
File "/usr/local/lib/python3.5/dist-packages/keras/callbacks.py", line 265, in on_epoch_end
self.progbar.update(self.seen, self.log_values, force=True)
AttributeError: 'ProgbarLogger' object has no attribute 'log_values'
Apple@Host:~/test$