-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhanced Colab notebook #72
base: master
Are you sure you want to change the base?
Conversation
Added support for priming the model. Data now persists in Google Drive. Added the ability to resume from checkpoints.
"hps.name = 'samples'\n", | ||
"# Specifies the directory to save the sample in.\n", | ||
"# We set this to the Google Drive mount point.\n", | ||
"hps.name = '/content/gdrive/My Drive/samples'\n", | ||
"chunk_size = 16 if model==\"5b_lyrics\" else 32\n", | ||
"max_batch_size = 3 if model==\"5b_lyrics\" else 16\n", | ||
"hps.levels = 3\n", | ||
"hps.hop_fraction = [.5,.5,.125]\n", | ||
"\n", | ||
"vqvae, *priors = MODELS[model]\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just as a though: since Downloading from gce
(Downloading the model, I assume..?) takes quite a long time, especially for the 5b -models, it might make sense to split those two. So you can edit the Hyperparams
without reloading the model each time :)
Sorry to bother, but I was wondering if there is a way to use v3 labels with this Colab? |
Which labels are used is tied to which model is used: 5b uses v2 labels and 1b uses v3 labels. |
Is it possible to upscale audio made with 1b with this while keeping artist data and such intact? I keep getting an error with it not recognizing the artist as it seems to try and use 5b and v2 artists, instead of v3. |
Updated comments to make it more clear '5b' is a valid model. The notebook also sets some sane defaults if '5b_lyrics' is the selected model. Updated the notebook so these defaults will also be used for '5b' which prevents out of memory exceptions from occurring on colab. Co-authored-by: mtferry <[email protected]>
Provide a warning about sample length of runtime
Hi, |
Facing the same issue as @Yonben. Using primed 5b.
Full Error Output
|
Added support for priming the model.
Data now persists in Google Drive.
Added the ability to resume from checkpoints.