How to load train and valid from different df or different csv in fastai v2

Can anyone provide some example of how to how to load train and valid to dataloads from different df or different csv in fastai v2?

Cheers

A simple way might be to merge the two DataFrames, and use IndexSplitter to assign the validation indices.

1 Like