Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ashutoshml opened this issue Dec 1, 2021 · 0 comments · Fixed by #10994
Assignees
Labels
bug Something isn't working data handling Generic data-related topic

Comments

@ashutoshml
Copy link

ashutoshml commented Dec 1, 2021

🐛 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

@ashutoshml ashutoshml added the bug Something isn't working label Dec 1, 2021
@rohitgr7 rohitgr7 added the data handling Generic data-related topic label Dec 1, 2021
@rohitgr7 rohitgr7 self-assigned this Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data handling Generic data-related topic
Projects
None yet
2 participants