[GH-ISSUE #336] Inference fails loading model #163

Open
opened 2026-10-20 09:56:09 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @m-grig on GitHub (May 22, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/336

When loading in the .pth file to Inferencing timbre, it throws the following error:
TypeError: SynthesizerTrnMs256NSFsid.__init__() takes 19 positional arguments but 20 were given

It appears to be happening on line 392 of infer-web.py:
net_g = SynthesizerTrnMs256NSFsid(*cpt["config"], is_half=config.is_half)

I'm running MacOS Ventura on an M2 Pro.

Originally created by @m-grig on GitHub (May 22, 2023). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/336 When loading in the .pth file to Inferencing timbre, it throws the following error: `TypeError: SynthesizerTrnMs256NSFsid.__init__() takes 19 positional arguments but 20 were given` It appears to be happening on line 392 of infer-web.py: `net_g = SynthesizerTrnMs256NSFsid(*cpt["config"], is_half=config.is_half)` I'm running MacOS Ventura on an M2 Pro.
Author
Owner

@fumiama commented on GitHub (Jun 1, 2023):

MacOS hasn't been supported yet.

<!-- gh-comment-id:1571309872 --> @fumiama commented on GitHub (Jun 1, 2023): MacOS hasn't been supported yet.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#163
No description provided.