f64051041 / SARAS-Net

58 stars 9 forks source link

BasePath、DataPath、SavePath meaning #4

Open ChengxiHAN opened 1 year ago

ChengxiHAN commented 1 year ago

hi, i change my own training dataset name, but i got error as follows:

AttributeError: 'Dataset' object has no attribute 'img_pth'

my setting is like this :

BASE_PATH ='/data/chengxi.han/Sigma122/SARAS-Net' (Project location ) DATA_PATH ='/data/chengxi.han/data/LEVIR-CD-Dataset256' (Data location ) SAVE_PATH ='/data/chengxi.han/Sigma122/SARAS-Net/Results/LEVIR' (Project location )

hope for your reply, many thanks.

YshGupta commented 1 year ago

Hey there, The 'img_pth' is TRAIN_DATA_PATH which is where your training dataset(the one with three directories i.e First image, Second Image, and label). So, in your case img_pth will be /data/chengxi.han/data/LEVIR-CD-Dataset256. Also I suggest you to make your directory tree like the one mentioned in ReadMe