nshaud/DeepNetsForEO

DATA_FOLDER is not defined

firmanhadi opened this issue · 1 comments

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)
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,
It's solved. I accidentally changed the code before. Thanks.