slei109/PATNet

About deepglobe and isic dataset

Nastu-Ho opened this issue · 1 comments

Can you provide more detailed guidance on how to properly load deepglobe and isic datasets?

  1. isic
    Is it correct to classify ISIC Training Images into three categories according to class_id.csv?
    image

2.deepglobe
After the preprocess.py processing, the chunked and filtered Image and label are obtained.
image
image

How do I use your code to load the processed data?
image
image

Each dataset has its own data loading process. In data/dataset.py, it calls the class based on the dataset. The high level idea of the loading process is that we first establish the category information for each image/mask in metadata_classwise function. And then random sample the image ids for support set and query set. Finally load the images and masks with sampled ids.

For the ISIC dataset, yes, there are 3 classes in this dataset. And we only need to split image data into three groups and the code can find its corresponding annotation data during loading process.

For the Deepglobe dataset, if you utilize our code directly, your datapath to Deepglobe dataset should be: 'yourdatapath/Deepglobe/1/', 'yourdatapath/Deepglobe/2/', etc.
And for each class:
annotation data of class 1 'yourdatapath/Deepglobe/1/test/groudtruth'
image data of class 1 'yourdatapath/Deepglobe/1/test/origin'