I am getting the following error after training is finished and the model is to exported. I used --export_tflite and --nouse_seq_length options:
Traceback (most recent call last):
File “DeepSpeech.py”, line 837, in
tf.app.run(main)
File “/data/DeepSpeech/venv/lib/python3.6/site-packages/tensorflow/python/platform/app.py”, line 125, in run
_sys.exit(main(argv))
File “DeepSpeech.py”, line 829, in main
export()
File “DeepSpeech.py”, line 681, in export
inputs, outputs, _ = create_inference_graph(batch_size=FLAGS.export_batch_size, n_steps=FLAGS.n_steps, tflite=FLAGS.export_tflite)
File “DeepSpeech.py”, line 596, in create_inference_graph
seq_length=seq_length if FLAGS.use_seq_length else None,
File “/data/DeepSpeech/venv/lib/python3.6/site-packages/tensorflow/python/platform/flags.py”, line 85, in getattr
return wrapped.getattr(name)
File “/data/DeepSpeech/venv/lib/python3.6/site-packages/absl/flags/_flagvalues.py”, line 473, in getattr
raise AttributeError(name)
AttributeError: use_seq_length