Tiger baseline method

Tiger baseline method  

  By: adamshephard on March 31, 2022, 3:56 p.m.

Hi,

Thank you for releasing the tiger baseline method, it's very useful. However, I note that in the process.py file it appears to import the following:

from wholeslidedata.image.wholeslideimagewriter import WholeSlideMaskWriter from wholeslidedata.annotation.generate_polygons import cv2_polygonize

On inspection, these files/functions don't actually appear to exist in the wholeslidedata repository. Is there an update for this?

Thanks for your help. Adam

Re: Tiger baseline method  

  By: mart.vanrijthoven on March 31, 2022, 5:54 p.m.

Dear Adam,

Yes you are correct. The Baseline model is using the following commit of the wholeslidedata package: - pip3 install git+https://github.com/DIAGNijmegen/pathology-whole-slide-data@216acd8a9166246f33c5996080e96a4d03e44402

In the newest version of the wholesldiedata package, external software parts have been moved to the 'accessories' folder and some other refactoring has been made (please see the CHANGELOG for more details. Therefore with the newsest version you can import these like:

from wholeslidedata.accessories.asap.imagewriter import WholeSlideMaskWriter from wholeslidedata.annotation.utils import cv2_polygonize

I hope this helps.

Best wishes, Mart

Re: Tiger baseline method  

  By: adamshephard on April 1, 2022, 10:25 a.m.

Hi Mart,

Thanks for clearing this up! That's great.

Best wishes, Adam