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 on running noisyspeech_synthesizer_singleprocess.py #35

Closed
dttlgotv opened this issue Nov 14, 2020 · 4 comments
Closed

error on running noisyspeech_synthesizer_singleprocess.py #35

dttlgotv opened this issue Nov 14, 2020 · 4 comments

Comments

@dttlgotv
Copy link

python noisyspeech_synthesizer_singleprocess.py
Number of files to be synthesized: 60000
WARNING: Audio type not supported
Traceback (most recent call last):
File "noisyspeech_synthesizer_singleprocess.py", line 537, in
main_body()
File "noisyspeech_synthesizer_singleprocess.py", line 508, in main_body
noise_source_files, noise_clipped_files, noise_low_activity_files = main_gen(params)
File "noisyspeech_synthesizer_singleprocess.py", line 168, in main_gen
gen_audio(True, params, clean_index)
File "noisyspeech_synthesizer_singleprocess.py", line 132, in gen_audio
build_audio(is_clean, params, index, audio_samples_length)
File "noisyspeech_synthesizer_singleprocess.py", line 82, in build_audio
input_audio, fs_input = audioread(source_files[idx])
File "/data1/dtln/DNS-Challenge/audiolib.py", line 45, in audioread
if len(audio.shape) == 1: # mono
UnboundLocalError: local variable 'audio' referenced before assignment

@e349808405
Copy link

Have you solved the problem

@dttlgotv
Copy link
Author

dttlgotv commented Nov 28, 2020 via email

@jorsj
Copy link

jorsj commented Jan 17, 2021

@dttlgotv I am running into the same problem, what did you do to fix the error?

@dttlgotv
Copy link
Author

@dttlgotv I am running into the same problem, what did you do to fix the error?

You must get the data using lfs.

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

4 participants