-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use WSIRUN_ env var prefix for wsi_run cli * set model and weights for brca model * add dockerfiles for task-specific docker images
- Loading branch information
Showing
6 changed files
with
57 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Tumor-infiltrating lymphocyte detection model. | ||
# | ||
# Note about versioning: We should not use the 'latest' tag because it is a moving | ||
# target. We should prefer using a versioned release of the wsi_inference pipeline. | ||
FROM kaczmarj/patch-classification-pipeline:v0.2.0 | ||
|
||
# The CLI will use these env vars for model and weights. | ||
ENV WSIRUN_MODEL="inceptionv4" | ||
ENV WSIRUN_WEIGHTS="TCGA-TILs-v1" | ||
|
||
# Download the weights. | ||
RUN python -c "from wsi_inference.modellib import models; models.$WSIRUN_MODEL(\"$WSIRUN_WEIGHTS\")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,11 @@ | |
# | ||
# Note about versioning: We should not use the 'latest' tag because it is a moving | ||
# target. We should prefer using a versioned release of the wsi_inference pipeline. | ||
FROM kaczmarj/patch-classification-pipeline:v0.1.0 | ||
# Download the TCGA-BRCA-v1 weights for resnet34. | ||
RUN python -c 'from wsi_inference.modellib import models; models.resnet34("TCGA-BRCA-v1")' | ||
LABEL maintainer="Jakub Kaczmarzyk <[email protected]>" | ||
FROM kaczmarj/patch-classification-pipeline:v0.2.0 | ||
|
||
# The CLI will use these env vars for model and weights. | ||
ENV WSIRUN_MODEL="resnet34" | ||
ENV WSIRUN_WEIGHTS="TCGA-BRCA-v1" | ||
|
||
# Download the weights. | ||
RUN python -c "from wsi_inference.modellib import models; models.$WSIRUN_MODEL(\"$WSIRUN_WEIGHTS\")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Lung adenocarcinoma detection model. | ||
# | ||
# Note about versioning: We should not use the 'latest' tag because it is a moving | ||
# target. We should prefer using a versioned release of the wsi_inference pipeline. | ||
FROM kaczmarj/patch-classification-pipeline:v0.2.0 | ||
|
||
# The CLI will use these env vars for model and weights. | ||
ENV WSIRUN_MODEL="resnet34" | ||
ENV WSIRUN_WEIGHTS="TCGA-LUAD-v1" | ||
|
||
# Download the weights. | ||
RUN python -c "from wsi_inference.modellib import models; models.$WSIRUN_MODEL(\"$WSIRUN_WEIGHTS\")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Pancreatic adenocarcinoma detection model. | ||
# | ||
# Note about versioning: We should not use the 'latest' tag because it is a moving | ||
# target. We should prefer using a versioned release of the wsi_inference pipeline. | ||
FROM kaczmarj/patch-classification-pipeline:v0.2.0 | ||
|
||
# The CLI will use these env vars for model and weights. | ||
ENV WSIRUN_MODEL="resnet34_preact" | ||
ENV WSIRUN_WEIGHTS="TCGA-PAAD-v1" | ||
|
||
# Download the weights. | ||
RUN python -c "from wsi_inference.modellib import models; models.$WSIRUN_MODEL(\"$WSIRUN_WEIGHTS\")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Prostate adenocarcinoma detection model. | ||
# | ||
# Note about versioning: We should not use the 'latest' tag because it is a moving | ||
# target. We should prefer using a versioned release of the wsi_inference pipeline. | ||
FROM kaczmarj/patch-classification-pipeline:v0.2.0 | ||
|
||
# The CLI will use these env vars for model and weights. | ||
ENV WSIRUN_MODEL="resnet34" | ||
ENV WSIRUN_WEIGHTS="TCGA-PRAD-v1" | ||
|
||
# Download the weights. | ||
RUN python -c "from wsi_inference.modellib import models; models.$WSIRUN_MODEL(\"$WSIRUN_WEIGHTS\")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters