effusiveperiscope / so-vits-svc

so-vits-svc
MIT License
179 stars 72 forks source link

Init Errors both Offline Inference GUI v0.1 and Inference GUI 2 #20

Closed joomjim closed 1 year ago

joomjim commented 1 year ago

I still get an error after hubert checkpoint_best_legacy_500.pt has been loaded. Tried both GUI v0.1 using run.bat, and inference_gui2.py command.

OS: Windows 10 Train with So-Vits-SVC-4.0V2 by justinjohn0306/so-vits-svc-4.0-v2

Traceback (most recent call last): File "inference_gui2.py", line 1273, in w = InferenceGui2() File "inference_gui2.py", line 779, in init self.try_load_speaker(0) File "inference_gui2.py", line 1053, in try_load_speaker self.svc_model = Svc(self.speakers[index]["model_path"], File "C:\so-vits-svc-4.0\so-vits-svc\inference\infer_tool.py", line 132, in init self.load_model() File "C:\so-vits-svc-4.0\so-vits-svc\inference\infer_tool.py", line 142, in load_model self.net_g_ms = SynthesizerTrn( TypeError: init() missing 4 required positional arguments: 'inter_channels', 'gin_channels', 'ssl_dim', and 'n_speakers'

I tested with VC Client realtime it is OK, I can load config & G_xxx.pth. Kindly suggest what went wrong here. thank you.

cody151 commented 1 year ago

These are issues with your Python environment. Consult stack overflow for issues not related to this project

effusiveperiscope commented 1 year ago

Train with So-Vits-SVC-4.0V2 by justinjohn0306/so-vits-svc-4.0-v2

4.0 v2 models are not compatible with so-vits-svc 4.0.

joomjim commented 1 year ago

I tried using the provided Colab Link (English version) and it is working fine.

I added a Google App Script to clean trash on Google Drive every 10min. so free drive space can be maintained.

Thank you very much for your contribution and reply.