deterministic retrain benchmark and add link
Browse files- README.md +3 -4
- configs/evaluate.json +0 -5
- configs/inference.json +3 -1
- configs/metadata.json +2 -1
- configs/multi_gpu_evaluate.json +1 -0
- docs/README.md +3 -4
- models/model.pt +1 -1
README.md
CHANGED
@@ -114,14 +114,13 @@ This model achieves the following Dice score on the validation data provided as
|
|
114 |
#### Training Loss and Dice
|
115 |
A graph showing the training Loss and Dice over 50 epochs.
|
116 |
|
117 |
-
![](https://developer.download.nvidia.com/assets/Clara/Images/
|
118 |
-
![](https://developer.download.nvidia.com/assets/Clara/Images/
|
119 |
|
120 |
#### Validation Dice
|
121 |
A graph showing the validation mean Dice over 50 epochs.
|
122 |
|
123 |
-
![](https://developer.download.nvidia.com/assets/Clara/Images/
|
124 |
-
|
125 |
|
126 |
## MONAI Bundle Commands
|
127 |
In addition to the Pythonic APIs, a few command line interfaces (CLI) are provided to interact with the bundle. The CLI supports flexible use cases, such as overriding configs at runtime and predefining arguments in a file.
|
|
|
114 |
#### Training Loss and Dice
|
115 |
A graph showing the training Loss and Dice over 50 epochs.
|
116 |
|
117 |
+
![](https://developer.download.nvidia.com/assets/Clara/Images/monai_pathology_nuclick_annotation_train_loss_v2.png) <br>
|
118 |
+
![](https://developer.download.nvidia.com/assets/Clara/Images/monai_pathology_nuclick_annotation_train_dice_v2.png) <br>
|
119 |
|
120 |
#### Validation Dice
|
121 |
A graph showing the validation mean Dice over 50 epochs.
|
122 |
|
123 |
+
![](https://developer.download.nvidia.com/assets/Clara/Images/monai_pathology_nuclick_annotation_val_dice_v2.png) <br>
|
|
|
124 |
|
125 |
## MONAI Bundle Commands
|
126 |
In addition to the Pythonic APIs, a few command line interfaces (CLI) are provided to interact with the bundle. The CLI supports flexible use cases, such as overriding configs at runtime and predefining arguments in a file.
|
configs/evaluate.json
CHANGED
@@ -49,11 +49,6 @@
|
|
49 |
"summary_ops": "*"
|
50 |
}
|
51 |
],
|
52 |
-
"initialize": [
|
53 |
-
"$import sys",
|
54 |
-
"$sys.path.append(@bundle_root)",
|
55 |
-
"$setattr(torch.backends.cudnn, 'benchmark', True)"
|
56 |
-
],
|
57 |
"run": [
|
58 |
"$@validate#evaluator.run()"
|
59 |
]
|
|
|
49 |
"summary_ops": "*"
|
50 |
}
|
51 |
],
|
|
|
|
|
|
|
|
|
|
|
52 |
"run": [
|
53 |
"$@validate#evaluator.run()"
|
54 |
]
|
configs/inference.json
CHANGED
@@ -124,7 +124,9 @@
|
|
124 |
"amp": true
|
125 |
},
|
126 |
"initialize": [
|
127 |
-
"$
|
|
|
|
|
128 |
],
|
129 |
"run": [
|
130 |
"$@evaluator.run()"
|
|
|
124 |
"amp": true
|
125 |
},
|
126 |
"initialize": [
|
127 |
+
"$import sys",
|
128 |
+
"$sys.path.append(@bundle_root)",
|
129 |
+
"$monai.utils.set_determinism(seed=123)"
|
130 |
],
|
131 |
"run": [
|
132 |
"$@evaluator.run()"
|
configs/metadata.json
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
{
|
2 |
"schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json",
|
3 |
-
"version": "0.1.
|
4 |
"changelog": {
|
|
|
5 |
"0.1.0": "fix mgpu finalize issue",
|
6 |
"0.0.9": "Update README Formatting",
|
7 |
"0.0.8": "enable deterministic training",
|
|
|
1 |
{
|
2 |
"schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json",
|
3 |
+
"version": "0.1.1",
|
4 |
"changelog": {
|
5 |
+
"0.1.1": "deterministic retrain benchmark and add link",
|
6 |
"0.1.0": "fix mgpu finalize issue",
|
7 |
"0.0.9": "Update README Formatting",
|
8 |
"0.0.8": "enable deterministic training",
|
configs/multi_gpu_evaluate.json
CHANGED
@@ -21,6 +21,7 @@
|
|
21 |
"$import torch.distributed as dist",
|
22 |
"$dist.is_initialized() or dist.init_process_group(backend='nccl')",
|
23 |
"$torch.cuda.set_device(@device)",
|
|
|
24 |
"$import logging",
|
25 |
"$@validate#evaluator.logger.setLevel(logging.WARNING if dist.get_rank() > 0 else logging.INFO)"
|
26 |
],
|
|
|
21 |
"$import torch.distributed as dist",
|
22 |
"$dist.is_initialized() or dist.init_process_group(backend='nccl')",
|
23 |
"$torch.cuda.set_device(@device)",
|
24 |
+
"$monai.utils.set_determinism(seed=123)",
|
25 |
"$import logging",
|
26 |
"$@validate#evaluator.logger.setLevel(logging.WARNING if dist.get_rank() > 0 else logging.INFO)"
|
27 |
],
|
docs/README.md
CHANGED
@@ -107,14 +107,13 @@ This model achieves the following Dice score on the validation data provided as
|
|
107 |
#### Training Loss and Dice
|
108 |
A graph showing the training Loss and Dice over 50 epochs.
|
109 |
|
110 |
-
![](https://developer.download.nvidia.com/assets/Clara/Images/
|
111 |
-
![](https://developer.download.nvidia.com/assets/Clara/Images/
|
112 |
|
113 |
#### Validation Dice
|
114 |
A graph showing the validation mean Dice over 50 epochs.
|
115 |
|
116 |
-
![](https://developer.download.nvidia.com/assets/Clara/Images/
|
117 |
-
|
118 |
|
119 |
## MONAI Bundle Commands
|
120 |
In addition to the Pythonic APIs, a few command line interfaces (CLI) are provided to interact with the bundle. The CLI supports flexible use cases, such as overriding configs at runtime and predefining arguments in a file.
|
|
|
107 |
#### Training Loss and Dice
|
108 |
A graph showing the training Loss and Dice over 50 epochs.
|
109 |
|
110 |
+
![](https://developer.download.nvidia.com/assets/Clara/Images/monai_pathology_nuclick_annotation_train_loss_v2.png) <br>
|
111 |
+
![](https://developer.download.nvidia.com/assets/Clara/Images/monai_pathology_nuclick_annotation_train_dice_v2.png) <br>
|
112 |
|
113 |
#### Validation Dice
|
114 |
A graph showing the validation mean Dice over 50 epochs.
|
115 |
|
116 |
+
![](https://developer.download.nvidia.com/assets/Clara/Images/monai_pathology_nuclick_annotation_val_dice_v2.png) <br>
|
|
|
117 |
|
118 |
## MONAI Bundle Commands
|
119 |
In addition to the Pythonic APIs, a few command line interfaces (CLI) are provided to interact with the bundle. The CLI supports flexible use cases, such as overriding configs at runtime and predefining arguments in a file.
|
models/model.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 31162823
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e40ca4d2a5e8649d9faef3aa9a0ec6fa201526d0262a4bc63431a151b178a8ae
|
3 |
size 31162823
|