ming024 / FastSpeech2

An implementation of Microsoft's "FastSpeech 2: Fast and High-Quality End-to-End Text to Speech"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StandardScaler Error when running preprocess.py

jay99de opened this issue · comments

Hey, I'm getting the following error when I try to run preprocess.py. I know this issue has been addressed already, however I've tried the suggested solution to check my path for TextGrid (preprocessed_data > LJSpeech > TextGrid > LJSpeech) and that didn't help. Does anyone have the same issue and or possible solutions?

Processing Data ... 100% 1/1 [00:00<00:00, 1343.90it/s] Computing statistic quantities ... Traceback (most recent call last): File "preprocess.py", line 15, in <module> preprocessor.build_from_path() File "/content/drive/MyDrive/FP2/FastSpeech2/preprocessor/preprocessor.py", line 96, in build_from_path pitch_mean = pitch_scaler.mean_[0] AttributeError: 'StandardScaler' object has no attribute 'mean_'