Skip to content

Commit

Permalink
Fixed bug with dataset argument
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianloef committed Sep 1, 2023
1 parent 3648810 commit 0f9e3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/train_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def main(args):
############################
# dataset
############################
dataset = DATASETS[backbone_args.dataset]
dataset = DATASETS[args.dataset]
train_dataset = dataset(subset="train", transforms=transforms)
val_dataset = dataset(subset="valid", transforms=transforms)
if "nsynth" in args.dataset:
Expand Down

0 comments on commit 0f9e3c8

Please sign in to comment.