Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in data_load.py---TypeError: a bytes-like object is required, not 'str' #126

Open
mingze-sheep opened this issue Sep 7, 2019 · 0 comments

Comments

@mingze-sheep
Copy link

I set prepro=True in hyperparams.py, after running "python3 prepro.py",i begin to run "python3 train.py",then there is a TypeError: a bytes-like object is required, not 'str' ------- File "/home/mingze/tacotron/data_load.py", line 94, in _load_spectrograms mel = "mels/{}".format(fname.replace("wav", "npy")). I can't fix this problem.
PS: when i set prepro=False in hyperparams.py,"python3 train.py" can be run successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant