-
Notifications
You must be signed in to change notification settings - Fork 101
Notebook For ER Prediction Using SlideGraph Pipeline #207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- 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`.
This is intentional in the test.
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
…to example-ER-slidegraph-pipeline
…example-ER-slidegraph-pipeline
| "- 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" |
There was a problem hiding this comment.
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
shaneahmed
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @vqdang
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...