I’m unfortunately not familiar with Lightning’s DataModule and don’t know if any reshaping is done internally.
Since the shape is apparently wrong for the input, I would recommend to add print statements in all data loading classes and check the current shape of the input to further isolate the additional values.