Hey,
I was going through Walk with fastai lecture number 2, which is Image Classification from Scratch.
During the lecture, @muellerzr said that the GrandParentSplitter returns two indexes 0 and 1, where 0 and 1 imply train and validation set respectively.
But when I ran the below code the order is messed up, not sure why this happens.
# What's inside? (training and validation set [0 ,1] indexes)
sample_train = splits[0][:5]
sample_val= splits[1][:5]
sample_train, sample_val
You can clearly see that the outputs arent in the right format. I am not sure what I am doing wrong here, or is there any update made to the function GrandParentSplitter
lately?
Thank you!