Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
Skip to content
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

Colab: Multiple Artist Conditioning #162

Open
DigestContent0 opened this issue Oct 21, 2020 · 1 comment
Open

Colab: Multiple Artist Conditioning #162

DigestContent0 opened this issue Oct 21, 2020 · 1 comment

Comments

@DigestContent0
Copy link

Does anyone know how to put more than one artist in a sample in Colab?

@VectorVP
Copy link

VectorVP commented Oct 26, 2020

Just try that idea from the original sample.py:

jukebox/jukebox/sample.py

Lines 192 to 225 in 830f9b6

metas = [dict(artist = "Alan Jackson",
genre = "Country",
lyrics = poems['ozymandias'],
total_length=total_length,
offset=offset,
),
dict(artist="Joe Bonamassa",
genre="Blues Rock",
lyrics=gpt_2_lyrics['hottub'],
total_length=total_length,
offset=offset,
),
dict(artist="Frank Sinatra",
genre="Classic Pop",
lyrics=gpt_2_lyrics['alone'],
total_length=total_length,
offset=offset,
),
dict(artist="Ella Fitzgerald",
genre="Jazz",
lyrics=gpt_2_lyrics['count'],
total_length=total_length,
offset=offset,
),
dict(artist="Céline Dion",
genre="Pop",
lyrics=gpt_2_lyrics['darkness'],
total_length=total_length,
offset=offset,
),
]
while len(metas) < hps.n_samples:
metas.extend(metas)
metas = metas[:hps.n_samples]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants