What are the possible values of split_idx ItemTransform parameter?

There is a parameter called split_idx that you can put over the __init__ of a subclass of ItemTransform. This parameters lets you select to if you want to apply to training, validation…

However, there is no page in documentation where all the possible values are explained. Can anyone give a little more intuition about them?

Nono, I am refering to the one of ItemTransform not for splitting dataset

It’s in the fastcore docs, and it’s simply 0 is train, 1 is validation. That is all that you can ever have in fastai, as test sets are just validation.


Okey, and no value for being applied to both?


Thank you! :slightly_smiling_face: