Yes, the collate_fn would get the samples created and returned in Dataset.__getitem__.
I don’t know why all None values will be used so maybe write an example Dataset, make sure to get the valid samples, and compare it to your custom Dataset implementation.