How to use multiple loaders?
This is docs about multiple dataloader, but it's too simple, is there any example of using multiple dataloader?
multiple loaders
In video classification, it's common to sample multiple clips to do classification, then compute mean scores of each clip in val/test mode.
If I want 10 clips for test. I can return 10 clips at once using one dataloader, but it will use much memory to load data. the best way is to use a for loop to iterate 10 times, sample 1 clip from one dataloader once, then compute mean of metric in one batch.
#1089
now in val dataloader it can return multiple loaders in a list. How can I access this list and get per loader's data and aggregate per loader's metric at epoch end?