Hi, I have a question about VolumeSampler in fastmri.data.volume_sampler.py.
We can see the following code in VolumeSampler.
‘’’
need to send equal number of samples to each process - take the max
self.num_samples = max([len(l) for l in indices])
add extra samples to match num_samples
indices = indices + indices[: self.num_samples - len(indices)]
‘’’
Is this process for matching num_samples necessary? It seems to me that VolumeSampler is also performed well without this additional code.