slei109/PATNet

Dataset Structure of different dataset

al3ms opened this issue · 2 comments

al3ms commented

Thank you for your work and continued support.

How should I structure my own datasets to work fine with minimal code changes? Could you explain please.

al3ms commented

This is my dataset structure it is simple:

Dataset Folder contains 4 sub-folders:
1- TrainVolumes
2- TrainSegmentation
3- TestVolumes
4- TestSegmentation
Each of the above folders contains images of one task.
While I have N datasets for different tasks.

One more question I should ask it before: Should I change my dataset structure to work with minimal code changes or should I customise your code for my dataset?

I think you can write a data loader file for your dataset and then revise the dataset.py accordingly. That would be the easiest way.