GPT-SoVITS icon indicating copy to clipboard operation
GPT-SoVITS copied to clipboard

TypeError: __init__() takes 1 positional argument but 2 were given

Open Thinking80s opened this issue 1 year ago • 4 comments

image

Thinking80s avatar Jul 12 '24 13:07 Thinking80s

问一下 transformers 库的版本?

SapphireLab avatar Jul 15 '24 15:07 SapphireLab

使用的依赖里版本

Thinking80s avatar Jul 17 '24 06:07 Thinking80s

检查代码看看import是那个CNHubert,Main分支的是1 positional argument, fast_inference_的是2 positional arguments

XXXXRT666 avatar Jul 18 '24 08:07 XXXXRT666

检查代码看看import是那个CNHubert,Main分支的是1 positional argument, fast_inference_的是2 positional arguments

你好请教一下,我使用的分支的代码推理,应该如何修改import

fjesikfjdskl avatar Aug 11 '24 08:08 fjesikfjdskl

一样的报错,解决了吗

MRzsw avatar Oct 17 '24 10:10 MRzsw