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

A run Problem(LJSpeech) #16

Closed
yanzhuangzhuang-beep opened this issue Feb 25, 2022 · 2 comments
Closed

A run Problem(LJSpeech) #16

yanzhuangzhuang-beep opened this issue Feb 25, 2022 · 2 comments

Comments

@yanzhuangzhuang-beep
Copy link

File "preprocess.py", line 20, in
preprocessor.build_from_path()
File "D:\UW-Detection\PortaSpeech\preprocessor\preprocessor.py", line 129, in build_from_path
n_frames += n
UnboundLocalError: local variable 'n' referenced before assignment
when I use NATSpeech show this problem (BiaoBei dataset)
when I use LJSpeech dataset and this code show this problem
I use global but cannot ......

@keonlee9420
Copy link
Owner

Hi @yanzhuangzhuang-beep , this seems to happen when you don't have TextGrid with the current filename in the expected directory. Could you please make sure that you have that in the correct location?

@yanzhuangzhuang-beep
Copy link
Author

thanks

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

2 participants