No, there is no simple way to do that. You can start sampling from val_loader after getting all samples from train_loader
val_loader
train_loader