Hi . I tried to train my own model but when I executed the training script the error was:
(DeepSpeech) C:\Users\Voice-trainner\STT\DeepSpeech>python DeepSpeech.py --train_files train.csv --dev_files dev.csv --test_files test.csv --audio_sample_rate 8000 --export_dir Models --export_tflite True
I Could not find best validating checkpoint.
I Could not find most recent checkpoint.
I Initializing all variables.
I STARTING Optimization
I Training epoch 0…
prefix is Epoch 0 | Training
widgets is [’ | ', <progressbar.widgets.Timer object at 0x0000021F7F9F70C8>, ’ | Steps: ', <progressbar.widgets.Counter object at 0x0000021F7F9F7148>, ’ | ', <training.deepspeech_training.train.train..run_set..LossWidget object at 0x0000021F7F9F4AB0>]
suffix is None
Traceback (most recent call last):
File “DeepSpeech.py”, line 12, in
ds_train.run_script()
File “C:\Users\Voice-trainner\STT\DeepSpeech\training\deepspeech_training\train.py”, line 982, in run_script
absl.app.run(main)
File “C:\Users\Voice-trainner\anaconda3\envs\DeepSpeech\lib\site-packages\absl\app.py”, line 303, in run
_run_main(main, args)
File “C:\Users\Voice-trainner\anaconda3\envs\DeepSpeech\lib\site-packages\absl\app.py”, line 251, in _run_main
sys.exit(main(argv))
File “C:\Users\Voice-trainner\STT\DeepSpeech\training\deepspeech_training\train.py”, line 954, in main
train()
File “C:\Users\Voice-trainner\STT\DeepSpeech\training\deepspeech_training\train.py”, line 607, in train
train_loss, _ = run_set(‘train’, epoch, train_init_op)
File “C:\Users\Voice-trainner\STT\DeepSpeech\training\deepspeech_training\train.py”, line 562, in run_set
pbar = create_progressbar(prefix=prefix, widgets=widgets, suffix=suffix).start()
File “C:\Users\Voice-trainner\STT\DeepSpeech\training\deepspeech_training\util\logging.py”, line 45, in create_progressbar
return progressbar.ProgressBar(*args, **kwargs)
TypeError: init() got an unexpected keyword argument 'prefix’