Error while training on pretrained network

i am using deepspeech checkpoint v0.6.1=>
command :=

python3 DeepSpeech.py --checkpoint_dir DeepSpeech/deepspeech-0.6.1-checkpoint/ --cudnn_checkpoint DeepSpeech/deepspeech-0.6.1-checkpoint/ --epochs -3 --train_files Downloads/indian_train.csv --dev_files Downloads/indian_dev.csv --test_files Downloads/indian_test.csv  --learning_rate 0.0001 --export_dir indianModel/

console:=
Test epoch | Steps: 0 | Elapsed Time: 0:00:00                                                                                                                                                              Traceback (most recent call last):
  File "/root/tmp/deepspeech-mark1-venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
    return fn(*args)
  File "/root/tmp/deepspeech-mark1-venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
    target_list, run_metadata)
  File "/root/tmp/deepspeech-mark1-venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: {{function_node __inference_Dataset_map_<class 'functools.partial'>_1634}} Header mismatch: Expected RIFF but found ID3
	 [[{{node DecodeWav}}]]
	 [[IteratorGetNext]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "DeepSpeech.py", line 974, in <module>
    absl.app.run(main)
  File "/root/tmp/deepspeech-mark1-venv/lib/python3.6/site-packages/absl/app.py", line 299, in run
    _run_main(main, args)
  File "/root/tmp/deepspeech-mark1-venv/lib/python3.6/site-packages/absl/app.py", line 250, in _run_main
    sys.exit(main(argv))
  File "DeepSpeech.py", line 951, in main
    test()
  File "DeepSpeech.py", line 684, in test
    samples = evaluate(FLAGS.test_files.split(','), create_model, try_loading)
  File "/home/rbeigcn1134841d/Desktop/mark1/DeepSpeech/evaluate.py", line 155, in evaluate
    samples.extend(run_test(init_op, dataset=csv))
  File "/home/rbeigcn1134841d/Desktop/mark1/DeepSpeech/evaluate.py", line 116, in run_test
    session.run([batch_wav_filename, transposed, loss, batch_x_len, batch_y])
  File "/root/tmp/deepspeech-mark1-venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 956, in run
    run_metadata_ptr)
  File "/root/tmp/deepspeech-mark1-venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1180, in _run
    feed_dict_tensor, options, run_metadata)
  File "/root/tmp/deepspeech-mark1-venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
    run_metadata)
  File "/root/tmp/deepspeech-mark1-venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: {{function_node __inference_Dataset_map_<class 'functools.partial'>_1634}} Header mismatch: Expected RIFF but found ID3
	 [[{{node DecodeWav}}]]
	 [[IteratorGetNext]]

Your files need to be WAVs.

2 Likes