zonechen1994 / AI_TLS_segmentation

23 stars 2 forks source link

Issues with seg_model_path = './model_pth/PSCANet_efficientNet/efficientnet-b0/16_best_model.pth' #1

Open wanglab1 opened 7 months ago

wanglab1 commented 7 months ago

Congrats on this great work and the recent publication in npj PO.

We tried to follow the code in the get_slide_tls.py and had the issue loading

FileNotFoundError: [Errno 2] No such file or directory: './model_pth/PSCANet_efficientNet/efficientnet-b0/16_best_model.pth'

Could you please advise and upload the files in this path ?

Also it would be nice to have few examples (for example based on public TCGA images).

zonechen1994 commented 7 months ago

Thank you! We have released our model. You can run the get_patch_tls.py at first. Then, if you want to predict TLS at slide-level WSIs, you can crop the WSI into patches and run the get_patch_tls.py for each patch.