You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model = '5b_lyrics' # or '5b' or '1b_lyrics'
hps = Hyperparams()
hps.sr = 44100
hps.n_samples = 3 if model in ('5b', '5b_lyrics') else 8
Specifies the directory to save the sample in.
We set this to the Google Drive mount point.
hps.name = '/content/gdrive/My Drive/samples'
chunk_size = 16 if model in ('5b', '5b_lyrics') else 32
max_batch_size = 3 if model in ('5b', '5b_lyrics') else 16
hps.levels = 3
hps.hop_fraction = [.5,.5,.125]
NameError Traceback (most recent call last) in
1 model = '5b_lyrics' # or '5b' or '1b_lyrics'
----> 2 hps = Hyperparams()
3 hps.sr = 44100
4 hps.n_samples = 3 if model in ('5b', '5b_lyrics') else 8
5 # Specifies the directory to save the sample in.
NameError: name 'Hyperparams' is not defined
The text was updated successfully, but these errors were encountered:
model = '5b_lyrics' # or '5b' or '1b_lyrics'
hps = Hyperparams()
hps.sr = 44100
hps.n_samples = 3 if model in ('5b', '5b_lyrics') else 8
Specifies the directory to save the sample in.
We set this to the Google Drive mount point.
hps.name = '/content/gdrive/My Drive/samples'
chunk_size = 16 if model in ('5b', '5b_lyrics') else 32
max_batch_size = 3 if model in ('5b', '5b_lyrics') else 16
hps.levels = 3
hps.hop_fraction = [.5,.5,.125]
vqvae, *priors = MODELS[model]
vqvae = make_vqvae(setup_hparams(vqvae, dict(sample_length = 1048576)), device)
top_prior = make_prior(setup_hparams(priors[-1], dict()), vqvae, device)
NameError Traceback (most recent call last)
in
1 model = '5b_lyrics' # or '5b' or '1b_lyrics'
----> 2 hps = Hyperparams()
3 hps.sr = 44100
4 hps.n_samples = 3 if model in ('5b', '5b_lyrics') else 8
5 # Specifies the directory to save the sample in.
NameError: name 'Hyperparams' is not defined
The text was updated successfully, but these errors were encountered: