Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

TypeError: repl must be a string #1998

@LuciferA678

Description

@LuciferA678

As I started training Deepspeech Model it gave error
Traceback (most recent call last):
File "./DeepSpeech.py", line 934, in
tf.app.run(main)
File "/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "./DeepSpeech.py", line 886, in main
train()
File "./DeepSpeech.py", line 386, in train
hdf5_cache_path=FLAGS.train_cached_features_path)
File "/app/DeepSpeech-master/util/preprocess.py", line 58, in preprocess
file['wav_filename'] = file['wav_filename'].str.replace(r'(^[^/])', lambda m: os.path.join(csv_dir, m.group(1)))
File "/root/anaconda3/lib/python3.6/site-packages/pandas/core/strings.py", line 1506, in replace
flags=flags)
File "/root/anaconda3/lib/python3.6/site-packages/pandas/core/strings.py", line 322, in str_replace
raise TypeError("repl must be a string")
TypeError: repl must be a string
TypeError: repl must be a string
what should be done?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions