How do I create a Image Segmentation Dataset


This is the function where it is throwing the error.