SySeVR / SySeVR

Apache License 2.0
305 stars 132 forks source link

AttributeError: 'ProgbarLogger' object has no attribute 'log_values' #9

Open sanashahir opened 4 years ago

sanashahir commented 4 years ago

@yezihagendasi @MilesQLi

Does anyone knows how to change this error?? I am getting this error while i was running bgru.py .... The following is the error I am getting : Train... (0, 0) start Epoch 1/10 Traceback (most recent call last): File "bgru.py", line 220, in main(traindataSetPath, testdataSetPath, realtestdataSetPath, weightPath, resultPath, batchSize, maxLen, vectorDim, layers, dropout) File "bgru.py", line 85, in main model.fit_generator(train_generator, steps_per_epoch=steps_epoch, epochs=10) File "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 1426, in fit_generator initial_epoch=initial_epoch) File "/usr/local/lib/python2.7/dist-packages/keras/engine/training_generator.py", line 229, in fit_generator callbacks.on_epoch_end(epoch, epoch_logs) File "/usr/local/lib/python2.7/dist-packages/keras/callbacks.py", line 77, in on_epoch_end callback.on_epoch_end(epoch, logs) File "/usr/local/lib/python2.7/dist-packages/keras/callbacks.py", line 336, in on_epoch_end self.progbar.update(self.seen, self.log_values) AttributeError: 'ProgbarLogger' object has no attribute 'log_values'