ncoudray / DeepPATH

Classification of Lung cancer slide images using deep-learning
489 stars 210 forks source link

How to specify certain slides in a split #128

Closed Arwa-AlRubaian closed 1 year ago

Arwa-AlRubaian commented 1 year ago

Hello, I would like to specify the exact cases to be used in each of the train, valid, and test split. Is there a way to do so ?

Also can I export the cases used for train/valid/ test like the files you provided for the binary STK11 classification.

Thanks !

ncoudray commented 1 year ago

Hi - Yes, at step 0.2a (0d_SortTiles.py). You would need to run it 3 times:

The different set can be either split in different folders when you tile them, or you can just provide the list as a text file (first column the slide ID, second its label) via the "JsonFile" option

HTH, Best

Arwa-AlRubaian commented 1 year ago

Thanks !