Closed yanzhuangzhuang-beep closed 2 years ago
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?
thanks
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 ......