deepliif 1.1.15__tar.gz → 1.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {deepliif-1.1.15 → deepliif-1.2.1}/PKG-INFO +2 -6
- {deepliif-1.1.15 → deepliif-1.2.1}/README.md +1 -1
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/models/__init__.py +5 -5
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/postprocessing.py +5 -5
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif.egg-info/PKG-INFO +2 -6
- deepliif-1.2.1/deepliif.egg-info/SOURCES.txt +47 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/setup.cfg +1 -1
- {deepliif-1.1.15 → deepliif-1.2.1}/setup.py +1 -1
- deepliif-1.1.15/.gitignore +0 -147
- deepliif-1.1.15/Datasets/Sample_Dataset/test/22_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test/34_3.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test/6_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test/799_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/22_2_fake_B_1.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/22_2_fake_B_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/22_2_fake_B_3.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/22_2_fake_B_4.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/22_2_fake_B_5.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/22_2_real_A.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/34_3_fake_B_1.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/34_3_fake_B_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/34_3_fake_B_3.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/34_3_fake_B_4.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/34_3_fake_B_5.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/34_3_real_A.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/6_2_fake_B_1.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/6_2_fake_B_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/6_2_fake_B_3.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/6_2_fake_B_4.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/6_2_fake_B_5.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/6_2_real_A.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/799_2_fake_B_1.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/799_2_fake_B_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/799_2_fake_B_3.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/799_2_fake_B_4.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/799_2_fake_B_5.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_DeepLIIF_results/799_2_real_A.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_cli/22_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_cli/34_3.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_cli/6_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_cli/799_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_groundtruth/22_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_groundtruth/34_3.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_groundtruth/6_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/test_groundtruth/799_2.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/train/Bladder1.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/train/Lung1.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/val/Bladder1.json +0 -10
- deepliif-1.1.15/Datasets/Sample_Dataset/val/Bladder1.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/val/Lung1.json +0 -10
- deepliif-1.1.15/Datasets/Sample_Dataset/val/Lung1.png +0 -0
- deepliif-1.1.15/Datasets/Sample_Dataset/val/metrics.json +0 -22
- deepliif-1.1.15/DeepLIIF_Statistics/ComputeStatistics.py +0 -236
- deepliif-1.1.15/DeepLIIF_Statistics/Create_Loss_Diagram.py +0 -81
- deepliif-1.1.15/DeepLIIF_Statistics/HelperFunctions.py +0 -667
- deepliif-1.1.15/DeepLIIF_Statistics/PostProcessSegmentationMask.py +0 -171
- deepliif-1.1.15/DeepLIIF_Statistics/README.md +0 -42
- deepliif-1.1.15/DeepLIIF_Statistics/Segmentation_Metrics.py +0 -233
- deepliif-1.1.15/DeepLIIF_Statistics/environment.yml +0 -69
- deepliif-1.1.15/DeepLIIF_Statistics/fid.py +0 -334
- deepliif-1.1.15/DeepLIIF_Statistics/fid_official_tf.py +0 -370
- deepliif-1.1.15/DeepLIIF_Statistics/inception_score.py +0 -100
- deepliif-1.1.15/DeepLIIF_Statistics/swd.py +0 -158
- deepliif-1.1.15/Dockerfile +0 -19
- deepliif-1.1.15/ImageJ_Plugin/.gitignore +0 -2
- deepliif-1.1.15/ImageJ_Plugin/README.md +0 -104
- deepliif-1.1.15/ImageJ_Plugin/images/roi_step01.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/roi_step02.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/roi_step03.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/roi_step04.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/roi_step05.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/roi_step06.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/roi_step07.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/roi_step08.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/roi_step09.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/roi_step10.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/step01.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/step02.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/step03.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/step04.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/step05.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/step06.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/step07.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/step08.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/images/step10.png +0 -0
- deepliif-1.1.15/ImageJ_Plugin/pom.xml +0 -106
- deepliif-1.1.15/ImageJ_Plugin/src/main/java/org/nadeemlab/deepliif/DeepliifClient.java +0 -181
- deepliif-1.1.15/ImageJ_Plugin/src/main/java/org/nadeemlab/deepliif/DeepliifException.java +0 -9
- deepliif-1.1.15/ImageJ_Plugin/src/main/java/org/nadeemlab/deepliif/FileHelper.java +0 -81
- deepliif-1.1.15/ImageJ_Plugin/src/main/java/org/nadeemlab/deepliif/InferencePlugin.java +0 -152
- deepliif-1.1.15/ImageJ_Plugin/src/main/java/org/nadeemlab/deepliif/InteractionPlugin.java +0 -228
- deepliif-1.1.15/ImageJ_Plugin/src/main/java/org/nadeemlab/deepliif/MutableHTMLDialog.java +0 -161
- deepliif-1.1.15/ImageJ_Plugin/src/main/java/org/nadeemlab/deepliif/OverlayCreator.java +0 -137
- deepliif-1.1.15/ImageJ_Plugin/src/main/java/org/nadeemlab/deepliif/ResultHandler.java +0 -140
- deepliif-1.1.15/ImageJ_Plugin/src/main/java/org/nadeemlab/deepliif/RoisInferencePlugin.java +0 -259
- deepliif-1.1.15/ImageJ_Plugin/src/main/java/org/nadeemlab/deepliif/UIHelper.java +0 -30
- deepliif-1.1.15/ImageJ_Plugin/src/main/resources/plugins.config +0 -3
- deepliif-1.1.15/Image_Processing/Augmentation.py +0 -84
- deepliif-1.1.15/Image_Processing/Image_Processing_Helper_Functions.py +0 -567
- deepliif-1.1.15/Multi-GPU Training.md +0 -156
- deepliif-1.1.15/PostProcessSegmentationMask.py +0 -61
- deepliif-1.1.15/Registration/README.md +0 -42
- deepliif-1.1.15/Registration/Registration_App.py +0 -281
- deepliif-1.1.15/Sample_Large_Tissues/ROI_1.png +0 -0
- deepliif-1.1.15/Sample_Large_Tissues/ROI_127.png +0 -0
- deepliif-1.1.15/Sample_Large_Tissues/ROI_153.png +0 -0
- deepliif-1.1.15/Sample_Large_Tissues/ROI_46.png +0 -0
- deepliif-1.1.15/Sample_Large_Tissues/ROI_7.png +0 -0
- deepliif-1.1.15/Scripts/download_pre_trained_model.sh +0 -12
- deepliif-1.1.15/Scripts/download_training_sets.sh +0 -41
- deepliif-1.1.15/assets/.METADATA/.gitkeep +0 -0
- deepliif-1.1.15/assets/.METADATA/.version.json +0 -1
- deepliif-1.1.15/assettypes/.gitkeep +0 -0
- deepliif-1.1.15/conftest.py +0 -65
- deepliif-1.1.15/deepliif/models/__init__ - different weighted.py +0 -762
- deepliif-1.1.15/deepliif/models/__init__ - multiprocessing (failure).py +0 -980
- deepliif-1.1.15/deepliif/models/__init__ - run_dask_multi dev.py +0 -943
- deepliif-1.1.15/deepliif/models/__init__ - time gens.py +0 -792
- deepliif-1.1.15/deepliif/models/__init__ - timings.py +0 -764
- deepliif-1.1.15/deepliif/models/__init__ - weights, empty, zarr, tile count.py +0 -792
- deepliif-1.1.15/deepliif/postprocessing__OLD__DELETE.py +0 -440
- deepliif-1.1.15/deepliif/scripts/train.py +0 -513
- deepliif-1.1.15/deepliif/stat/__init__.py +0 -83
- deepliif-1.1.15/deepliif/util/util - modified tensor_to_pil.py +0 -255
- deepliif-1.1.15/deepliif.egg-info/SOURCES.txt +0 -215
- deepliif-1.1.15/docs/ImageJ/README.md +0 -104
- deepliif-1.1.15/docs/ImageJ/images/roi_step01.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/roi_step02.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/roi_step03.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/roi_step04.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/roi_step05.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/roi_step06.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/roi_step07.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/roi_step08.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/roi_step09.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/roi_step10.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/step01.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/step02.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/step03.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/step04.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/step05.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/step06.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/step07.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/step08.png +0 -0
- deepliif-1.1.15/docs/ImageJ/images/step10.png +0 -0
- deepliif-1.1.15/docs/README.md +0 -42
- deepliif-1.1.15/docs/cloud/README.md +0 -72
- deepliif-1.1.15/docs/deployment/README.md +0 -171
- deepliif-1.1.15/docs/deployment/images/deepliif_torchserve_workflow.png +0 -0
- deepliif-1.1.15/docs/images/DeepLIIF_logo.png +0 -0
- deepliif-1.1.15/docs/images/overview.png +0 -0
- deepliif-1.1.15/docs/installation/README.md +0 -35
- deepliif-1.1.15/docs/testing/README.md +0 -29
- deepliif-1.1.15/docs/training/README.md +0 -250
- deepliif-1.1.15/docs/training/images/IHC_Gen.jpg +0 -0
- deepliif-1.1.15/environment.yml +0 -145
- deepliif-1.1.15/images/DeepLIIF_logo.png +0 -0
- deepliif-1.1.15/images/IHC_Gen3.png +0 -0
- deepliif-1.1.15/images/deepliif-imagej-demo.gif +0 -0
- deepliif-1.1.15/images/deepliif-imagej-roi-demo.gif +0 -0
- deepliif-1.1.15/images/deepliif-stitch-demo-01.gif +0 -0
- deepliif-1.1.15/images/deepliif-website-demo-04.gif +0 -0
- deepliif-1.1.15/images/deepliif_torchserve_workflow.png +0 -0
- deepliif-1.1.15/images/overview.png +0 -0
- deepliif-1.1.15/images/target.png +0 -0
- deepliif-1.1.15/mkdocs.yml +0 -29
- deepliif-1.1.15/model-server/config.properties +0 -12
- deepliif-1.1.15/model-server/deepliif_workflow.yaml +0 -42
- deepliif-1.1.15/model-server/deepliif_workflow_handler.py +0 -41
- deepliif-1.1.15/model-server/model_requirements.txt +0 -1
- deepliif-1.1.15/model-server/net_handler.py +0 -16
- deepliif-1.1.15/model-server/resnet.py +0 -14
- deepliif-1.1.15/model-server/unet.py +0 -13
- deepliif-1.1.15/notes_for_code_testing.md +0 -39
- deepliif-1.1.15/test.py +0 -129
- deepliif-1.1.15/tests/util.py +0 -50
- deepliif-1.1.15/train.py +0 -517
- {deepliif-1.1.15 → deepliif-1.2.1}/LICENSE.md +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/cli.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/__init__.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/data/__init__.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/data/aligned_dataset.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/data/base_dataset.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/data/colorization_dataset.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/data/image_folder.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/data/single_dataset.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/data/template_dataset.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/data/unaligned_dataset.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/models/CycleGAN_model.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/models/DeepLIIFExt_model.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/models/DeepLIIFKD_model.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/models/DeepLIIF_model.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/models/SDG_model.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/models/att_unet.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/models/base_model.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/models/networks.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/options/__init__.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/options/base_options.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/options/processing_options.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/options/test_options.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/options/train_options.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/util/__init__.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/util/checks.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/util/get_data.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/util/html.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/util/image_pool.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/util/util.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif/util/visualizer.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif.egg-info/dependency_links.txt +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif.egg-info/entry_points.txt +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif.egg-info/requires.txt +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/deepliif.egg-info/top_level.txt +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/tests/test_args.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/tests/test_cli_inference.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/tests/test_cli_serialize.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/tests/test_cli_train.py +0 -0
- {deepliif-1.1.15 → deepliif-1.2.1}/tests/test_cli_trainlaunch.py +0 -0
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: deepliif
|
|
3
|
-
Version: 1.1
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: DeepLIIF: Deep-Learning Inferred Multiplex Immunofluorescence for Immunohistochemical Image Quantification
|
|
5
5
|
Home-page: https://github.com/nadeemlab/DeepLIIF
|
|
6
6
|
Author: Parmida93
|
|
7
7
|
Author-email: ghahremani.parmida@gmail.com
|
|
8
|
-
License: UNKNOWN
|
|
9
8
|
Keywords: DeepLIIF,IHC,Segmentation,Classification
|
|
10
|
-
Platform: UNKNOWN
|
|
11
9
|
Description-Content-Type: text/markdown
|
|
12
10
|
License-File: LICENSE.md
|
|
13
11
|
|
|
@@ -55,7 +53,7 @@ segmentation.*
|
|
|
55
53
|
|
|
56
54
|
© This code is made available for non-commercial academic purposes.
|
|
57
55
|
|
|
58
|
-

|
|
59
57
|
[](https://pepy.tech/project/deepliif?&left_text=totalusers)
|
|
60
58
|
|
|
61
59
|
*Overview of DeepLIIF pipeline and sample input IHCs (different
|
|
@@ -611,5 +609,3 @@ If you find our work useful in your research or if you use parts of this code or
|
|
|
611
609
|
year = {2024}
|
|
612
610
|
}
|
|
613
611
|
```
|
|
614
|
-
|
|
615
|
-
|
|
@@ -42,7 +42,7 @@ segmentation.*
|
|
|
42
42
|
|
|
43
43
|
© This code is made available for non-commercial academic purposes.
|
|
44
44
|
|
|
45
|
-

|
|
46
46
|
[](https://pepy.tech/project/deepliif?&left_text=totalusers)
|
|
47
47
|
|
|
48
48
|
*Overview of DeepLIIF pipeline and sample input IHCs (different
|
|
@@ -283,11 +283,11 @@ def run_dask(img, model_path=None, nets=None, eager_mode=False, opt=None, seg_on
|
|
|
283
283
|
if opt.model in ['DeepLIIF','DeepLIIFKD']:
|
|
284
284
|
if seg_weights is None:
|
|
285
285
|
weights = {
|
|
286
|
-
'G51': 0.
|
|
287
|
-
'G52': 0.
|
|
288
|
-
'G53': 0.
|
|
289
|
-
'G54': 0.
|
|
290
|
-
'G55': 0.
|
|
286
|
+
'G51': 0.5, # IHC
|
|
287
|
+
'G52': 0.0, # Hema
|
|
288
|
+
'G53': 0.0, # DAPI
|
|
289
|
+
'G54': 0.0, # Lap2
|
|
290
|
+
'G55': 0.5, # Marker
|
|
291
291
|
}
|
|
292
292
|
else:
|
|
293
293
|
weights = {
|
|
@@ -1053,17 +1053,17 @@ def calculate_large_noise_thresh(large_noise_thresh, resolution):
|
|
|
1053
1053
|
if large_noise_thresh != 'default':
|
|
1054
1054
|
return large_noise_thresh
|
|
1055
1055
|
if resolution == '10x':
|
|
1056
|
-
return 250
|
|
1057
|
-
elif resolution == '20x':
|
|
1058
1056
|
return 1000
|
|
1059
|
-
|
|
1057
|
+
elif resolution == '20x':
|
|
1060
1058
|
return 4000
|
|
1059
|
+
else: # 40x
|
|
1060
|
+
return 16000
|
|
1061
1061
|
|
|
1062
1062
|
|
|
1063
1063
|
def compute_cell_results(seg, marker, resolution, version=3,
|
|
1064
1064
|
seg_thresh=DEFAULT_SEG_THRESH,
|
|
1065
1065
|
noise_thresh=DEFAULT_NOISE_THRESH,
|
|
1066
|
-
large_noise_thresh=
|
|
1066
|
+
large_noise_thresh=None):
|
|
1067
1067
|
"""
|
|
1068
1068
|
Perform postprocessing to compute individual cell results.
|
|
1069
1069
|
|
|
@@ -1134,7 +1134,7 @@ def compute_final_results(orig, seg, marker, resolution,
|
|
|
1134
1134
|
size_thresh_upper=None,
|
|
1135
1135
|
seg_thresh=DEFAULT_SEG_THRESH,
|
|
1136
1136
|
noise_thresh=DEFAULT_NOISE_THRESH,
|
|
1137
|
-
large_noise_thresh=
|
|
1137
|
+
large_noise_thresh=None):
|
|
1138
1138
|
"""
|
|
1139
1139
|
Perform postprocessing to compute final count and image results.
|
|
1140
1140
|
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: deepliif
|
|
3
|
-
Version: 1.1
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: DeepLIIF: Deep-Learning Inferred Multiplex Immunofluorescence for Immunohistochemical Image Quantification
|
|
5
5
|
Home-page: https://github.com/nadeemlab/DeepLIIF
|
|
6
6
|
Author: Parmida93
|
|
7
7
|
Author-email: ghahremani.parmida@gmail.com
|
|
8
|
-
License: UNKNOWN
|
|
9
8
|
Keywords: DeepLIIF,IHC,Segmentation,Classification
|
|
10
|
-
Platform: UNKNOWN
|
|
11
9
|
Description-Content-Type: text/markdown
|
|
12
10
|
License-File: LICENSE.md
|
|
13
11
|
|
|
@@ -55,7 +53,7 @@ segmentation.*
|
|
|
55
53
|
|
|
56
54
|
© This code is made available for non-commercial academic purposes.
|
|
57
55
|
|
|
58
|
-

|
|
59
57
|
[](https://pepy.tech/project/deepliif?&left_text=totalusers)
|
|
60
58
|
|
|
61
59
|
*Overview of DeepLIIF pipeline and sample input IHCs (different
|
|
@@ -611,5 +609,3 @@ If you find our work useful in your research or if you use parts of this code or
|
|
|
611
609
|
year = {2024}
|
|
612
610
|
}
|
|
613
611
|
```
|
|
614
|
-
|
|
615
|
-
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
LICENSE.md
|
|
2
|
+
README.md
|
|
3
|
+
cli.py
|
|
4
|
+
setup.cfg
|
|
5
|
+
setup.py
|
|
6
|
+
deepliif/__init__.py
|
|
7
|
+
deepliif/postprocessing.py
|
|
8
|
+
deepliif.egg-info/PKG-INFO
|
|
9
|
+
deepliif.egg-info/SOURCES.txt
|
|
10
|
+
deepliif.egg-info/dependency_links.txt
|
|
11
|
+
deepliif.egg-info/entry_points.txt
|
|
12
|
+
deepliif.egg-info/requires.txt
|
|
13
|
+
deepliif.egg-info/top_level.txt
|
|
14
|
+
deepliif/data/__init__.py
|
|
15
|
+
deepliif/data/aligned_dataset.py
|
|
16
|
+
deepliif/data/base_dataset.py
|
|
17
|
+
deepliif/data/colorization_dataset.py
|
|
18
|
+
deepliif/data/image_folder.py
|
|
19
|
+
deepliif/data/single_dataset.py
|
|
20
|
+
deepliif/data/template_dataset.py
|
|
21
|
+
deepliif/data/unaligned_dataset.py
|
|
22
|
+
deepliif/models/CycleGAN_model.py
|
|
23
|
+
deepliif/models/DeepLIIFExt_model.py
|
|
24
|
+
deepliif/models/DeepLIIFKD_model.py
|
|
25
|
+
deepliif/models/DeepLIIF_model.py
|
|
26
|
+
deepliif/models/SDG_model.py
|
|
27
|
+
deepliif/models/__init__.py
|
|
28
|
+
deepliif/models/att_unet.py
|
|
29
|
+
deepliif/models/base_model.py
|
|
30
|
+
deepliif/models/networks.py
|
|
31
|
+
deepliif/options/__init__.py
|
|
32
|
+
deepliif/options/base_options.py
|
|
33
|
+
deepliif/options/processing_options.py
|
|
34
|
+
deepliif/options/test_options.py
|
|
35
|
+
deepliif/options/train_options.py
|
|
36
|
+
deepliif/util/__init__.py
|
|
37
|
+
deepliif/util/checks.py
|
|
38
|
+
deepliif/util/get_data.py
|
|
39
|
+
deepliif/util/html.py
|
|
40
|
+
deepliif/util/image_pool.py
|
|
41
|
+
deepliif/util/util.py
|
|
42
|
+
deepliif/util/visualizer.py
|
|
43
|
+
tests/test_args.py
|
|
44
|
+
tests/test_cli_inference.py
|
|
45
|
+
tests/test_cli_serialize.py
|
|
46
|
+
tests/test_cli_train.py
|
|
47
|
+
tests/test_cli_trainlaunch.py
|
|
@@ -6,7 +6,7 @@ README = (HERE / "README.md").read_text()
|
|
|
6
6
|
|
|
7
7
|
setup(
|
|
8
8
|
name='deepliif',
|
|
9
|
-
version='1.1
|
|
9
|
+
version='1.2.1',
|
|
10
10
|
packages=['deepliif', 'deepliif.data', 'deepliif.models', 'deepliif.util', 'deepliif.options'],
|
|
11
11
|
|
|
12
12
|
description='DeepLIIF: Deep-Learning Inferred Multiplex Immunofluorescence for Immunohistochemical Image Quantification',
|
deepliif-1.1.15/.gitignore
DELETED
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
# Byte-compiled / optimized / DLL files
|
|
2
|
-
__pycache__/
|
|
3
|
-
*.py[cod]
|
|
4
|
-
*$py.class
|
|
5
|
-
|
|
6
|
-
.idea/*
|
|
7
|
-
|
|
8
|
-
# C extensions
|
|
9
|
-
*.so
|
|
10
|
-
|
|
11
|
-
# Distribution / packaging
|
|
12
|
-
.Python
|
|
13
|
-
build/
|
|
14
|
-
develop-eggs/
|
|
15
|
-
dist/
|
|
16
|
-
downloads/
|
|
17
|
-
eggs/
|
|
18
|
-
.eggs/
|
|
19
|
-
lib/
|
|
20
|
-
lib64/
|
|
21
|
-
parts/
|
|
22
|
-
sdist/
|
|
23
|
-
var/
|
|
24
|
-
wheels/
|
|
25
|
-
pip-wheel-metadata/
|
|
26
|
-
share/python-wheels/
|
|
27
|
-
*.egg-info/
|
|
28
|
-
.installed.cfg
|
|
29
|
-
*.egg
|
|
30
|
-
MANIFEST
|
|
31
|
-
|
|
32
|
-
# PyInstaller
|
|
33
|
-
# Usually these files are written by a python script from a template
|
|
34
|
-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
35
|
-
*.manifest
|
|
36
|
-
*.spec
|
|
37
|
-
|
|
38
|
-
# Installer logs
|
|
39
|
-
pip-log.txt
|
|
40
|
-
pip-delete-this-directory.txt
|
|
41
|
-
|
|
42
|
-
# Unit test / coverage reports
|
|
43
|
-
htmlcov/
|
|
44
|
-
.tox/
|
|
45
|
-
.nox/
|
|
46
|
-
.coverage
|
|
47
|
-
.coverage.*
|
|
48
|
-
.cache
|
|
49
|
-
nosetests.xml
|
|
50
|
-
coverage.xml
|
|
51
|
-
*.cover
|
|
52
|
-
*.py,cover
|
|
53
|
-
.hypothesis/
|
|
54
|
-
.pytest_cache/
|
|
55
|
-
|
|
56
|
-
# Translations
|
|
57
|
-
*.mo
|
|
58
|
-
*.pot
|
|
59
|
-
|
|
60
|
-
# Django stuff:
|
|
61
|
-
*.log
|
|
62
|
-
*.out
|
|
63
|
-
local_settings.py
|
|
64
|
-
db.sqlite3
|
|
65
|
-
db.sqlite3-journal
|
|
66
|
-
|
|
67
|
-
# Flask stuff:
|
|
68
|
-
instance/
|
|
69
|
-
.webassets-cache
|
|
70
|
-
|
|
71
|
-
# Scrapy stuff:
|
|
72
|
-
.scrapy
|
|
73
|
-
|
|
74
|
-
# Sphinx documentation
|
|
75
|
-
docs/_build/
|
|
76
|
-
|
|
77
|
-
# PyBuilder
|
|
78
|
-
target/
|
|
79
|
-
|
|
80
|
-
# Jupyter Notebook
|
|
81
|
-
.ipynb_checkpoints
|
|
82
|
-
|
|
83
|
-
# IPython
|
|
84
|
-
profile_default/
|
|
85
|
-
ipython_config.py
|
|
86
|
-
|
|
87
|
-
# pyenv
|
|
88
|
-
.python-version
|
|
89
|
-
|
|
90
|
-
# pipenv
|
|
91
|
-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
-
# install all needed dependencies.
|
|
95
|
-
#Pipfile.lock
|
|
96
|
-
|
|
97
|
-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
98
|
-
__pypackages__/
|
|
99
|
-
|
|
100
|
-
# Celery stuff
|
|
101
|
-
celerybeat-schedule
|
|
102
|
-
celerybeat.pid
|
|
103
|
-
|
|
104
|
-
# SageMath parsed files
|
|
105
|
-
*.sage.py
|
|
106
|
-
|
|
107
|
-
# Environments
|
|
108
|
-
.env
|
|
109
|
-
.venv
|
|
110
|
-
env/
|
|
111
|
-
venv/
|
|
112
|
-
ENV/
|
|
113
|
-
env.bak/
|
|
114
|
-
venv.bak/
|
|
115
|
-
|
|
116
|
-
# Spyder project settings
|
|
117
|
-
.spyderproject
|
|
118
|
-
.spyproject
|
|
119
|
-
|
|
120
|
-
# Rope project settings
|
|
121
|
-
.ropeproject
|
|
122
|
-
|
|
123
|
-
# mkdocs documentation
|
|
124
|
-
/site
|
|
125
|
-
|
|
126
|
-
# mypy
|
|
127
|
-
.mypy_cache/
|
|
128
|
-
.dmypy.json
|
|
129
|
-
dmypy.json
|
|
130
|
-
|
|
131
|
-
# Pyre type checker
|
|
132
|
-
.pyre/
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
# Checkpoints and results
|
|
136
|
-
/checkpoints/
|
|
137
|
-
/model-server/
|
|
138
|
-
/results/*
|
|
139
|
-
|
|
140
|
-
**/.ipynb_checkpoints/*
|
|
141
|
-
**/.virtual_documents/*
|
|
142
|
-
assets/.METADATA/job_run.*
|
|
143
|
-
assets/job_run
|
|
144
|
-
cover/
|
|
145
|
-
.pybuilder/
|
|
146
|
-
.pytype/
|
|
147
|
-
cython_debug/
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Lung1": {
|
|
3
|
-
"num_total": 60,
|
|
4
|
-
"num_pos": 11,
|
|
5
|
-
"num_neg": 49,
|
|
6
|
-
"percent_pos": 18.3,
|
|
7
|
-
"prob_thresh": 150,
|
|
8
|
-
"size_thresh": 78,
|
|
9
|
-
"size_thresh_upper": null,
|
|
10
|
-
"marker_thresh": null
|
|
11
|
-
},
|
|
12
|
-
"Bladder1": {
|
|
13
|
-
"num_total": 183,
|
|
14
|
-
"num_pos": 15,
|
|
15
|
-
"num_neg": 168,
|
|
16
|
-
"percent_pos": 8.2,
|
|
17
|
-
"prob_thresh": 150,
|
|
18
|
-
"size_thresh": 30,
|
|
19
|
-
"size_thresh_upper": null,
|
|
20
|
-
"marker_thresh": null
|
|
21
|
-
}
|
|
22
|
-
}
|