I have set the folder accordingly but I got an error, 'DATA_FOLDER' is not defined
NameError Traceback (most recent call last)
in ()
26 # Dataset class
27
---> 28 class ISPRS_dataset(torch.utils.data.Dataset):
29 def __init__(self, ids, data_files=DATA_FOLDER, label_files=LABEL_FOLDER,
30 cache=False, augmentation=True):
in ISPRS_dataset()
27
28 class ISPRS_dataset(torch.utils.data.Dataset):
---> 29 def __init__(self, ids, data_files=DATA_FOLDER, label_files=LABEL_FOLDER,
30 cache=False, augmentation=True):
31 super(ISPRS_dataset, self).__init__()
NameError: name 'DATA_FOLDER' is not defined
Hi,
Thank you for sharing the source code.
I have set the folder accordingly but I got an error, 'DATA_FOLDER' is not defined
NameError Traceback (most recent call last)