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
/code/PaddleSpeech$ paddlespeech asr --lang zh --input zh.wav
Traceback (most recent call last):
File "/home/lihuan/anaconda3/bin/paddlespeech", line 5, in
from paddlespeech.cli.entry import _execute
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/cli/init.py", line 23, in
from .tts import TTSExecutor
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/cli/tts/init.py", line 14, in
from .infer import TTSExecutor
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/cli/tts/infer.py", line 36, in
from paddlespeech.t2s.frontend import English
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/t2s/init.py", line 19, in
from . import models
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/t2s/models/init.py", line 14, in
from .fastspeech2 import *
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/t2s/models/fastspeech2/init.py", line 14, in
from .fastspeech2 import *
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/t2s/models/fastspeech2/fastspeech2.py", line 28, in
from paddlespeech.t2s.modules.nets_utils import initialize
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/t2s/modules/init.py", line 16, in
from .losses import *
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/t2s/modules/losses.py", line 20, in
from paddle.fluid.layers import sequence_mask
ImportError: cannot import name 'sequence_mask' from 'paddle.fluid.layers' (/home/lihuan/anaconda3/lib/python3.11/site-packages/paddle/fluid/layers/init.py)
(base) lihuan@lihuan:/code/PaddleSpeech$
The text was updated successfully, but these errors were encountered:
/code/PaddleSpeech$ paddlespeech asr --lang zh --input zh.wav/code/PaddleSpeech$Traceback (most recent call last):
File "/home/lihuan/anaconda3/bin/paddlespeech", line 5, in
from paddlespeech.cli.entry import _execute
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/cli/init.py", line 23, in
from .tts import TTSExecutor
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/cli/tts/init.py", line 14, in
from .infer import TTSExecutor
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/cli/tts/infer.py", line 36, in
from paddlespeech.t2s.frontend import English
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/t2s/init.py", line 19, in
from . import models
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/t2s/models/init.py", line 14, in
from .fastspeech2 import *
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/t2s/models/fastspeech2/init.py", line 14, in
from .fastspeech2 import *
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/t2s/models/fastspeech2/fastspeech2.py", line 28, in
from paddlespeech.t2s.modules.nets_utils import initialize
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/t2s/modules/init.py", line 16, in
from .losses import *
File "/home/lihuan/anaconda3/lib/python3.11/site-packages/paddlespeech/t2s/modules/losses.py", line 20, in
from paddle.fluid.layers import sequence_mask
ImportError: cannot import name 'sequence_mask' from 'paddle.fluid.layers' (/home/lihuan/anaconda3/lib/python3.11/site-packages/paddle/fluid/layers/init.py)
(base) lihuan@lihuan:
The text was updated successfully, but these errors were encountered: