rhgao/co-separation

Is the validation set same as the training set?

Closed this issue · 2 comments

Hi

Are the validation examples taken from the training data itself? I could not spot any differences in how you handle training vs validation data, except for the total number of examples used in each case. Because you just randomly sample a pair of videos in audioVisual_dataset.py, and the data loaders for training and validation use the same file paths, isn't it possible that some training videos are re-used for validation?

Thanks for the great work.

rhgao commented

The training data and validation data are specified with different hdf5 file (which contains file paths).
h5f_path = os.path.join(opt.hdf5_path, opt.mode+'.h5')

For training, opt.mode = 'train'
For validation, opt.mode = 'validation'

Training data and validation data are loaded using different data loaders.

Got it, thanks!