ncoudray / DeepPATH

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

some bugs in your code #18

Closed gengyuanzhe closed 5 years ago

gengyuanzhe commented 5 years ago

Well, in your code, you use rstrip to remove the suffix of the string, which may cause some problems. For example, imgRootName = imgRootName.rstrip('_files') of the file "0d_SortTiles.py".

>>> 'helle_files'.rstrip('_files')
'h'

In this case, the imgRootName will not in the jdata map , and the whole dir will not copy to the train-val-test directory.

ncoudray commented 5 years ago

Yes, this particular line was corrected ~a month ago. If you pull the latest version, if should be fine. Anyway, thanks a lot for pointing that out - I should probably change the one in line 391 too.