MockingBird
MockingBird copied to clipboard
TypeError: resample() takes 1 positional argument but 3 were given
Summary[问题简述(一句话)] TypeError: resample() takes 1 positional argument but 3 were given
Env & To Reproduce[复现与环境] windows10,newest code,i download data\ckpt\synthesizer\pretrained-11-7-21_75k.pt python web.py --》hit synthesize button
Screenshots[截图(如有)]
If applicable, add screenshots to help
i have the same problem
i have the same problem
i resolved it, change the code where error, like this:xxx = xxx, but i think it need official solution
这是自动回复邮件。 已收到,谢谢!(请勿回复)
It seems that there's compatibility issue of newer version of librosa, could you help to specify the older version in requirement.txt file or fix the parameters in my call?
On Thu, Mar 23, 2023 at 9:59 AM Karry-Almond @.***> wrote:
这是自动回复邮件。 已收到,谢谢!(请勿回复)
— Reply to this email directly, view it on GitHub https://github.com/babysor/MockingBird/issues/852#issuecomment-1480476202, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYUKEGKOM6XR2ZSGNDY6FLW5OVBTANCNFSM6AAAAAAV4W6UQ4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Cordially, Weijia Chen
- www.linkedin.com/pub/weijia-chen/84/a7a/463/
i have the same problem
i resolved it, change the code where error, like this:xxx = xxx, but i think it need official solution
Thanks for solving this problem! I've been bothered by it for a long time.
I solved the same problem by edit models\encoder\audio.py
:
Then it works. on Python 3.9.16, librosa 0.10.0.post2.
I have the same issue. Could you please explain the solution in detail? I haven't tried modifying the code in audio.py as suggested below, but the issue persists. Therefore, I would like to ask for a detailed tutorial on the solution. Thank you.Looking forward to your help. Thank you.
You can solve this problem by specifying the version of the librosa library.Such as: pip install librosa==0.9.2
这是自动回复邮件。 已收到,谢谢!(请勿回复)
TypeError: resample() takes 1 positional argument but 3 were given How to resolve this problem
这是自动回复邮件。 已收到,谢谢!(请勿回复)