Hi @RLearner ,
your collate function should work. Due to the index out of range exception I would assume that the function has indeed filtered the None samples, but it seems like a whole batch has been Nones.
I would suggest preprocessing of the data instead of filtering the samples while training.
Regards,
Unity05