Actually I have a 3D dataset, with each 3D image has got 2 GT labels. So, when I am creating a list of both folders, the number of list items is changed. I have got 6 3D images, whereas for the GTs they are 8. There may be 2 extra for one set of varying shapes?
Will padding will work? like this in TF we have
Data=tf.data.Dataset.from_tensor_slices([image_paths],[label_paths]) #hold true with equal list size, but what should be done if image, and label list sizes are different?