PaddlePaddle / PaddleSpeech

Easy-to-use Speech Toolkit including Self-Supervised Learning model, SOTA/Streaming ASR with punctuation, Streaming TTS with text frontend, Speaker Verification System, End-to-End Speech Translation and Keyword Spotting. Won NAACL2022 Best Demo Award.
https://paddlespeech.readthedocs.io
Apache License 2.0
10.98k stars 1.83k forks source link

版本问题参考:https://github.com/PaddlePaddle/PaddleSpeech/issues/3528 #3649

Open sunqinbo opened 9 months ago

sunqinbo commented 9 months ago

版本问题参考:https://github.com/PaddlePaddle/PaddleSpeech/issues/3528

Originally posted by @zxcd in https://github.com/PaddlePaddle/PaddleSpeech/issues/3607#issuecomment-1846487548 你好,按这个https://github.com/PaddlePaddle/PaddleSpeech/issues/3528 提供的两个版本,安装后是可以解决ImportError: cannot import name 'sequence_mask' from 'paddle.fluid.layers'问题,但是新问题又来

image

sunqinbo commented 9 months ago

安装环境与版本 Python 3.8.18 (default, Sep 11 2023, 13:40:15) [GCC 11.2.0] :: Anaconda, Inc. on linux paddle-bfloat 0.1.7 paddle2onnx 1.0.9 paddleaudio 1.1.0 paddlefsl 1.1.0 paddlehub 2.1.0 paddlenlp 2.6.1 paddleocr 2.7.0.3 paddlepaddle 2.5.0 paddlesde 0.2.5 paddleslim 2.3.4 paddlespeech 1.4.0 paddlespeech-ctcdecoders 0.2.1 paddlespeech-feat 0.1.0

zxcd commented 9 months ago

我这个issue上不是写如果你要用 paddlespeech<=1.4.0,建议使用PaddlePaddle <= 2.4.2 PaddleSpeech == develop, 建议使用PaddlePaddle == 2.5.0/2.5.1

zxcd commented 9 months ago

我试了一下paddlespeech==develop, paddlepaddle-gpu==2.5.1是可以的,你可以试试看。

happywch commented 9 months ago

你的python版本是多少呢,系统版本,安装了gcc5吗。

zxcd commented 8 months ago

你的python版本是多少呢,系统版本,安装了gcc5吗。

我用的 python3.8 系统版本,Ubuntu 18.04,gcc version 8.2.0

sunqinbo commented 8 months ago

python版本3.10   

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年1月16日(星期二) 晚上7:15 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [PaddlePaddle/PaddleSpeech] 版本问题参考:https://github.com/PaddlePaddle/PaddleSpeech/issues/3528 (Issue #3649)

你的python版本是多少呢,系统版本,安装了gcc5吗。

我用的 python3.8 系统版本,Ubuntu 18.04,gcc version 8.2.0

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>