Skip to content

Conversation

@wenqi006
Copy link
Contributor

@wenqi006 wenqi006 commented Dec 2, 2021

Text in the notebook are edited for the ER status prediction task. In this notebook, we use Resnet feature which gives higher accuracy.

Cells before training part are tested and working well.

Training is in progress...

vqdang and others added 30 commits September 24, 2021 12:07
- Moved local test files into `tiatoolbox/data`.
- Using `pkg_resources` to properly load bundled resources
  (target_image.png) in `tiatoolbox.data`. Bundled sample can now be
  loaded via `tiatoolbox.data` e.g.
  `img = tiatoolbox.data.stainnorm_target`.
- Removed duplicate code in `conftest.py` for downlading remote files.
  This is now in `tiatoolbox.data._fetch_remote_file` which will load
  a remote resource using the corresponding key in `tiatoolbox/data`.
@wenqi006 wenqi006 closed this Dec 2, 2021
@wenqi006 wenqi006 reopened this Dec 2, 2021
@codecov
Copy link

codecov bot commented Dec 2, 2021

Codecov Report

Merging #207 (1a6f301) into develop (49a2baf) will increase coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 1a6f301 differs from pull request most recent head 909c6dc. Consider uploading reports for the commit 909c6dc to get more accurate results
Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #207      +/-   ##
===========================================
+ Coverage    99.81%   99.83%   +0.01%     
===========================================
  Files           53       52       -1     
  Lines         4867     4848      -19     
  Branches       800      796       -4     
===========================================
- Hits          4858     4840      -18     
  Misses           2        2              
+ Partials         7        6       -1     
Impacted Files Coverage Δ
tiatoolbox/utils/misc.py 99.59% <0.00%> (-0.03%) ⬇️
tiatoolbox/cli/slide_info.py 100.00% <0.00%> (ø)
tiatoolbox/annotation/storage.py 100.00% <0.00%> (ø)
tiatoolbox/cli/slide_thumbnail.py 100.00% <0.00%> (ø)
tiatoolbox/models/architecture/__init__.py 100.00% <0.00%> (ø)
tiatoolbox/models/dataset/classification.py 100.00% <0.00%> (ø)
tiatoolbox/visualization/tileserver.py
tiatoolbox/wsicore/wsireader.py 99.31% <0.00%> (+0.19%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 746d636...909c6dc. Read the comment docs.

@John-P John-P changed the title Notebook for ER prediction using SlideGraph pipeline Notebook For ER Prediction Using SlideGraph Pipeline Dec 17, 2021
@John-P John-P added the documentation Improvements or additions to documentation label Dec 17, 2021
Comment on lines +44 to +54
"- Extraction of deep features\n",
"\n",
"> **Note**: Although the original paper was evaluated for HER2. The method itself\n",
"> can be applicable for other mutation prediction. We provide a pretrained model\n",
"> for predicting [ER (Estrogen receptor)](https://en.wikipedia.org/wiki/Estrogen_receptor)\n",
"> status [here (model weights)](https://tiatoolbox.dcs.warwick.ac.uk/models/slide_graph/deep-features/model.weights.pth)\n",
"> and [here (model auxiliary)](https://tiatoolbox.dcs.warwick.ac.uk/models/slide_graph/deep-features/model.aux.dat).\n",
"> You can get the pre-generated graphs [here](https://tiatoolbox.dcs.warwick.ac.uk/models/slide_graph/deep-features/graphs.zip)\n",
"> and its node preprocessing model [here](https://tiatoolbox.dcs.warwick.ac.uk/models/slide_graph/deep-features/node_scaler.dat).\n",
"> For predicting ER status, we use deep features coming from ResNet50 rather than\n",
"> the cellular composition.\n"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shaneahmed URLs are here, all of them are for ER

Copy link
Member

@shaneahmed shaneahmed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vqdang

@shaneahmed shaneahmed merged commit 4de9819 into develop Dec 20, 2021
@shaneahmed shaneahmed deleted the example-ER-slidegraph-pipeline branch December 20, 2021 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants