The following code
from torch.utils.data import DataLoader from defect_segmentation.data_loading.DatasetSingleImage import dataset_single_image_default import num