Google Colab Notebook Not Working #427
Labels
No Label
bug
duplicate
enhancement
help wanted
insufficient info
invalid
news
not a bug
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: mrq/ai-voice-cloning#427
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey, I've previously used the google colab service to train voices before a few months ago but now when I try to set it up I get a bunch of error messages and the remote webUI doesn't even attempt to launch.
Here is the error message I get when I run the 'Running' command block.
I can't remember the exact incident, but the colab hasn't been supported in a while now, but:
Seeing as that error keeps cropping up, my guess is you'll need to edit the notebook file to add in explicitly installing a newer version of torch, rather than the default one from PyPI.
Example:
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
And I suppose from
./start.sh: line 5: deactivate: command not found
, the venv isn't being created / respected, so I'm assuming it's trying to leverage the default PyTorch installation from the colab space.Oh right, that's sad to hear. I'm a 3D designer and not a programmer lol so I'm not sure how I would edit the notebook to make it work properly, would I have to update the commands in the repo files or just run the commands inside the colab?
Thanks for the reply and thanks for the scripts, I'm still able to train on my own computer locally and it works great.
If I recall right, there
isn't a terminal to run commands in (where P*p*rsp*c* does but not for the free tier)is a terminal, however it requires Colab Pro. Instead, you can edit the colab notebook by clicking a code block and pasting the code in it, then running it. So this block:can be:
I'm currently validating the notebook on my end and seeing if it the venv just needs to be updated to use python3.10 (since I'm assuming the Colab base image finally updated to use it). If it works out fine, I'll update the colab notebook file.
Nevermind, I should have the colab notebook updated to be fixed.
It seems to be working again, thank you so much, I'll be sure to give you credit if I ever use these voices in anything I produce.