-
Notifications
You must be signed in to change notification settings - Fork 732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google collab script error: Audio.__init__() got an unexpected keyword argument 'source' #148
Comments
嗯,同样的问题,也是一筹莫展。等大佬帮助。TypeError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/gradio/component_meta.py in wrapper(*args, **kwargs) TypeError: Audio.init() got an unexpected keyword argument 'source' |
谢谢,尝试了几种方法,还是有错误。但是错误行数不一样了。`AttributeError Traceback (most recent call last) 9 frames AttributeError: module 'numpy' has no attribute
|
看起来是numpy版本问题,试一下更新到最新版
|
感谢您的帮助,我回头再试试。 |
刚做了尝试,又出现新的错误: /usr/local/lib/python3.10/dist-packages/gradio/component_meta.py in wrapper(*args, **kwargs) TypeError: Audio.init() got an unexpected keyword argument 'source' 估计是它的库跟现在的colab现有的不兼容吧。 |
@ccjackcong
|
刚做了测试了,还是不行。因该还是依赖有冲突,但是好像很多,一时间不知道怎么下手。 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. |
我过几天重新装一下环境测试一下吧,这几天比较忙,没啥空闲时间慢慢解决依赖冲突 |
就我所知应该没单独给mac的模型,我不太清楚这一块,你可以试试转译啥的能不能用。你win的显卡如果有6gb的显存应该就可以用了。如果显存不够应该可以换个小的whisper模型用,不过比较折腾,得新下个模型,然后修改对应加载的代码。理论上单语音生成的部分应该对显卡要求不高,不过我不是写核心部分的,不太清楚对显卡要求有多低。 |
感谢您的回复。我现在就打算在colab上做训练,回头在本地推理了。我win电脑显卡不行,只能推理,达不到训练要求。再次感谢。 |
@ccjackcong |
@hkzbiyx 感谢回复啦,这个我慢慢研究,最近在学习使用bert-vits2那个模型训练呢。 |
Running the collab block renders the following error
The text was updated successfully, but these errors were encountered: