Can't get finetuned model to load using the UI #9

Closed
opened 2023-02-19 16:07:17 +00:00 by accountts · 3 comments

"Defer TTS Load" is enabled
I go to Settings tab, select a finetuned model in "Autoregressive Model", click "Save Settings" then "(Re)Load TTS"

->
Initializating TorToiSe... (using model: None)

and the default model gets loaded.

Only way I could get it to load my finetuned model was to overwrite the "autoregressive.pth" default file

"Defer TTS Load" is enabled I go to Settings tab, select a finetuned model in "Autoregressive Model", click "Save Settings" then "(Re)Load TTS" -> Initializating TorToiSe... (using model: None) and the default model gets loaded. Only way I could get it to load my finetuned model was to overwrite the "autoregressive.pth" default file
Owner

Right, I forgot I needed to remedy this exact situation. I think if:

  • TTS is not loaded
  • the model is requested to change

it'll silently fail. You'll need to load the TTS first, and then swap the model.

I think, I remember locally I had a huge ordeal trying to get it to show up and load and what-not, but I don't remember what specifically fixed it or if I even did fix it, but I'll assume no.

I'll fix it to be sane, it even bugged me.

Right, I forgot I needed to remedy this exact situation. I think if: * TTS is not loaded * the model is requested to change it'll silently fail. You'll need to load the TTS first, and then swap the model. I think, I remember locally I had a huge ordeal trying to get it to show up and load and what-not, but I don't remember what specifically fixed it or if I even did fix it, but I'll assume no. I'll fix it to be sane, it even bugged me.
Owner

Just did a quick test of Deferring TTS load, changing the model, and then loading TTS and it worked. It actually does spit out a stack trace saying TTS isn't initialized, but I do the setting save after it loads, and not before (in case it fails, but I don't think it'll fail with the settings validation done).

Pushed in commit 4f79b3724b.

Just did a quick test of Deferring TTS load, changing the model, and then loading TTS and it worked. It actually does spit out a stack trace saying TTS isn't initialized, but I do the setting save after it loads, and not before (in case it fails, but I don't think it'll fail with the settings validation done). Pushed in commit 4f79b3724b6985ab59e35c55fb304b4ea6195fd5.
Author

yep, that fixed it.

yep, that fixed it.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
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: mrq/ai-voice-cloning#9
No description provided.