nshaud / DeepNetsForEO

Deep networks for Earth Observation
Other
476 stars 170 forks source link

DATA_FOLDER is not defined #24

Closed firmanhadi closed 6 years ago

firmanhadi commented 6 years ago

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
firmanhadi commented 6 years ago

Hi, It's solved. I accidentally changed the code before. Thanks.