Skip to content

Conversation

@JasiekKaczmarczyk
Copy link
Contributor

Now you can train CLIP on multiple datasets concatenated together.

train.py Outdated

val_ds = load_dataset(dataset_name, split="validation")
val_ds = MidiDataset(val_ds)
if isinstance(dataset_name, (list, ListConfig)):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we shouldn't support different types for a config value. In this case I'd prefer to always have a list, and if we want to use a single dataset, it can be a one-element list.

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

Successfully merging this pull request may close these issues.

3 participants