Skip to content

Warning about shuffle=True despite having shuffle=False in multiple val_dataloader with CombinedLoader #10866

@ashutoshml

Description

@ashutoshml

🐛 Bug

When working with multiple val_dataloaders with CombinedLoader, the following warning is displayed, despite having shuffle=False

Warning: 
Your 'val_dataloader' has 'shuffle=True', it is strongly recommended that you turn this off for val/test/predict dataloaders.

To Reproduce

Colab: https://colab.research.google.com/drive/14R9IzJN7xazG1wudz-bnF1LBsmD7vgVt?usp=sharing

Expected behavior

No warnings should be displayed

Environment

  • CUDA:
    • GPU:
      • Tesla K80
    • available: True
    • version: 11.1
  • Packages:
    • numpy: 1.19.5
    • pyTorch_debug: False
    • pyTorch_version: 1.10.0+cu111
    • pytorch-lightning: 1.5.4
    • tqdm: 4.62.3
  • System:
    • OS: Linux
    • architecture:
      • 64bit
    • processor: x86_64
    • python: 3.7.12
    • version: Proposal for help #1 SMP Sat Jun 5 09:50:34 PDT 2021

cc @justusschock @awaelchli @ninginthecloud

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdata handlingGeneric data-related topic

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions