You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today when i ran this command "python task3.py -n", it turns out the error like:
[D] Feature vector [200]
[D] Batch size [256]
[D] Epochs [200]
[I] Training
[I] | Loss | Metric |
[I] | binary_crossentropy | binary_accuracy |
[I] Epoch | Train | Val | Train | Val | Time
[I] ----- + -------- + -------- + -------- + -------- + ---------------
Traceback (most recent call last):
File "task3.py", line 294, in
sys.exit(main(sys.argv))
File "task3.py", line 228, in main
app.system_training()
File "/home/zwe/Downloads/DCASE2017-baseline-system-master/dcase_framework/decorators.py", line 38, in function_wrapper
to_return = func(*args, **kwargs)
File "/home/zwe/Downloads/DCASE2017-baseline-system-master/dcase_framework/application_core.py", line 2214, in system_training
validation_files=validation_files
File "/home/zwe/Downloads/DCASE2017-baseline-system-master/dcase_framework/learners.py", line 2468, in learn
class_weight=class_weight
File "/root/anaconda3/lib/python3.7/site-packages/keras/engine/training.py", line 1239, in fit
validation_freq=validation_freq)
File "/root/anaconda3/lib/python3.7/site-packages/keras/engine/training_arrays.py", line 192, in fit_loop
callbacks._call_batch_hook('train', 'begin', batch_index, batch_logs)
File "/root/anaconda3/lib/python3.7/site-packages/keras/callbacks/callbacks.py", line 84, in _call_batch_hook
batch_hook = getattr(callback, hook_name)
AttributeError: 'ProgressLoggerCallback' object has no attribute 'on_train_batch_begin'
I just checked the code i downloaded from the github and the file "keras_utils.py" has changed according to the commit 14f4e3d, and i don't konw whether it is a problem with Keras version again?
The text was updated successfully, but these errors were encountered:
Today when i ran this command "python task3.py -n", it turns out the error like:
[D] Feature vector [200]
[D] Batch size [256]
[D] Epochs [200]
[I] Training
[I] | Loss | Metric |
[I] | binary_crossentropy | binary_accuracy |
[I] Epoch | Train | Val | Train | Val | Time
[I] ----- + -------- + -------- + -------- + -------- + ---------------
Traceback (most recent call last):
File "task3.py", line 294, in
sys.exit(main(sys.argv))
File "task3.py", line 228, in main
app.system_training()
File "/home/zwe/Downloads/DCASE2017-baseline-system-master/dcase_framework/decorators.py", line 38, in function_wrapper
to_return = func(*args, **kwargs)
File "/home/zwe/Downloads/DCASE2017-baseline-system-master/dcase_framework/application_core.py", line 2214, in system_training
validation_files=validation_files
File "/home/zwe/Downloads/DCASE2017-baseline-system-master/dcase_framework/learners.py", line 2468, in learn
class_weight=class_weight
File "/root/anaconda3/lib/python3.7/site-packages/keras/engine/training.py", line 1239, in fit
validation_freq=validation_freq)
File "/root/anaconda3/lib/python3.7/site-packages/keras/engine/training_arrays.py", line 192, in fit_loop
callbacks._call_batch_hook('train', 'begin', batch_index, batch_logs)
File "/root/anaconda3/lib/python3.7/site-packages/keras/callbacks/callbacks.py", line 84, in _call_batch_hook
batch_hook = getattr(callback, hook_name)
AttributeError: 'ProgressLoggerCallback' object has no attribute 'on_train_batch_begin'
I just checked the code i downloaded from the github and the file "keras_utils.py" has changed according to the commit 14f4e3d, and i don't konw whether it is a problem with Keras version again?
The text was updated successfully, but these errors were encountered: