Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yxlllc committed Oct 3, 2023
1 parent a66c204 commit 5debb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def train():
clip_grad_norm = 3
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')

train_dataset = MIR1K('Hybrid', hop_length, ['mir1k+ptdb', 'm4singer-resynth'], whole_audio=False, use_aug=True)
train_dataset = MIR1K('Hybrid', hop_length, ['train'], whole_audio=False, use_aug=True)
validation_dataset = MIR1K('Hybrid', hop_length, ['test'], whole_audio=True, use_aug=False)

data_loader = DataLoader(train_dataset, batch_size, shuffle=True, drop_last=True, pin_memory=True, persistent_workers=True, num_workers=2)
Expand Down

0 comments on commit 5debb4e

Please sign in to comment.