You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我的环境是Windows 10 python3.7 在运行PaddleSpeech就报下面的错误
File "generate_audio.py", line 15, in
from parakeet.models.fastspeech2 import FastSpeech2, FastSpeech2Inference
File "H:\PaddlePaddle-DeepSpeech\venv\lib\site-packages\parakeet_init_.py", line 20, in
from . import models
File "H:\PaddlePaddle-DeepSpeech\venv\lib\site-packages\parakeet\models_init_.py", line 15, in
from .fastspeech2 import *
File "H:\PaddlePaddle-DeepSpeech\venv\lib\site-packages\parakeet\models\fastspeech2_init_.py", line 15, in
from .fastspeech2 import *
File "H:\PaddlePaddle-DeepSpeech\venv\lib\site-packages\parakeet\models\fastspeech2\fastspeech2.py", line 24, in
from parakeet.modules.fastspeech2_predictor.duration_predictor import DurationPredictor
File "H:\PaddlePaddle-DeepSpeech\venv\lib\site-packages\parakeet\modules_init_.py", line 18, in
from .losses import *
File "H:\PaddlePaddle-DeepSpeech\venv\lib\site-packages\parakeet\modules\losses.py", line 15, in
from paddle.fluid.layers import sequence_mask
ImportError: cannot import name 'sequence_mask' from 'paddle.fluid.layers'
The text was updated successfully, but these errors were encountered:
我的环境是Windows 10 python3.7 在运行PaddleSpeech就报下面的错误
File "generate_audio.py", line 15, in
from parakeet.models.fastspeech2 import FastSpeech2, FastSpeech2Inference
File "H:\PaddlePaddle-DeepSpeech\venv\lib\site-packages\parakeet_init_.py", line 20, in
from . import models
File "H:\PaddlePaddle-DeepSpeech\venv\lib\site-packages\parakeet\models_init_.py", line 15, in
from .fastspeech2 import *
File "H:\PaddlePaddle-DeepSpeech\venv\lib\site-packages\parakeet\models\fastspeech2_init_.py", line 15, in
from .fastspeech2 import *
File "H:\PaddlePaddle-DeepSpeech\venv\lib\site-packages\parakeet\models\fastspeech2\fastspeech2.py", line 24, in
from parakeet.modules.fastspeech2_predictor.duration_predictor import DurationPredictor
File "H:\PaddlePaddle-DeepSpeech\venv\lib\site-packages\parakeet\modules_init_.py", line 18, in
from .losses import *
File "H:\PaddlePaddle-DeepSpeech\venv\lib\site-packages\parakeet\modules\losses.py", line 15, in
from paddle.fluid.layers import sequence_mask
ImportError: cannot import name 'sequence_mask' from 'paddle.fluid.layers'
The text was updated successfully, but these errors were encountered: