Skip to content

Shuffle dataloader with validation set #14

Open
@Scienceseb

Description

@Scienceseb

Hi !

I just want to point something kind of special, so it seems that your code even if I specified shuffle=True, don't make the valid dataloader shuffle.

So the shuffle=True is inactive:

 valid_dataset = Corem(args.valid_data_dir, seq_len=args.short_len+args.out_len, train=False)
 validataloader = DataLoader(valid_dataset, batch_size=args.batch_size, shuffle=True, num_workers=args.workers, drop_last=False)

Thanks for your help, for some reasons I need a validation dataloader shuffle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions