add non-deterministic note
Browse files- README.md +4 -1
- configs/metadata.json +2 -1
- docs/README.md +4 -1
README.md
CHANGED
|
@@ -63,6 +63,9 @@ Three channels
|
|
| 63 |
## Performance
|
| 64 |
Dice score is used for evaluating the performance of the model. This model achieves a mean dice score of 0.62.
|
| 65 |
|
|
|
|
|
|
|
|
|
|
| 66 |
#### Training Loss
|
| 67 |
The loss over 3200 epochs (the bright curve is smoothed, and the dark one is the actual curve)
|
| 68 |
|
|
@@ -119,7 +122,7 @@ python -m monai.bundle run --config_file "['configs/train.yaml','configs/evaluat
|
|
| 119 |
python -m monai.bundle run --config_file configs/inference.yaml
|
| 120 |
```
|
| 121 |
|
| 122 |
-
#### Export checkpoint for TorchScript
|
| 123 |
|
| 124 |
```
|
| 125 |
python -m monai.bundle ckpt_export network_def --filepath models/model.ts --ckpt_file models/model.pt --meta_file configs/metadata.json --config_file configs/inference.yaml
|
|
|
|
| 63 |
## Performance
|
| 64 |
Dice score is used for evaluating the performance of the model. This model achieves a mean dice score of 0.62.
|
| 65 |
|
| 66 |
+
Please note that this bundle is non-deterministic because of the trilinear interpolation used in the network. Therefore, reproducing the training process may not get exactly the same performance.
|
| 67 |
+
Please refer to https://pytorch.org/docs/stable/notes/randomness.html#reproducibility for more details about reproducibility.
|
| 68 |
+
|
| 69 |
#### Training Loss
|
| 70 |
The loss over 3200 epochs (the bright curve is smoothed, and the dark one is the actual curve)
|
| 71 |
|
|
|
|
| 122 |
python -m monai.bundle run --config_file configs/inference.yaml
|
| 123 |
```
|
| 124 |
|
| 125 |
+
#### Export checkpoint for TorchScript:
|
| 126 |
|
| 127 |
```
|
| 128 |
python -m monai.bundle ckpt_export network_def --filepath models/model.ts --ckpt_file models/model.pt --meta_file configs/metadata.json --config_file configs/inference.yaml
|
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.3.
|
| 4 |
"changelog": {
|
|
|
|
| 5 |
"0.3.7": "re-train model with updated dints implementation",
|
| 6 |
"0.3.6": "black autofix format and add name tag",
|
| 7 |
"0.3.5": "restructure readme to match updated template",
|
|
|
|
| 1 |
{
|
| 2 |
"schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json",
|
| 3 |
+
"version": "0.3.8",
|
| 4 |
"changelog": {
|
| 5 |
+
"0.3.8": "add non-deterministic note",
|
| 6 |
"0.3.7": "re-train model with updated dints implementation",
|
| 7 |
"0.3.6": "black autofix format and add name tag",
|
| 8 |
"0.3.5": "restructure readme to match updated template",
|
docs/README.md
CHANGED
|
@@ -56,6 +56,9 @@ Three channels
|
|
| 56 |
## Performance
|
| 57 |
Dice score is used for evaluating the performance of the model. This model achieves a mean dice score of 0.62.
|
| 58 |
|
|
|
|
|
|
|
|
|
|
| 59 |
#### Training Loss
|
| 60 |
The loss over 3200 epochs (the bright curve is smoothed, and the dark one is the actual curve)
|
| 61 |
|
|
@@ -112,7 +115,7 @@ python -m monai.bundle run --config_file "['configs/train.yaml','configs/evaluat
|
|
| 112 |
python -m monai.bundle run --config_file configs/inference.yaml
|
| 113 |
```
|
| 114 |
|
| 115 |
-
#### Export checkpoint for TorchScript
|
| 116 |
|
| 117 |
```
|
| 118 |
python -m monai.bundle ckpt_export network_def --filepath models/model.ts --ckpt_file models/model.pt --meta_file configs/metadata.json --config_file configs/inference.yaml
|
|
|
|
| 56 |
## Performance
|
| 57 |
Dice score is used for evaluating the performance of the model. This model achieves a mean dice score of 0.62.
|
| 58 |
|
| 59 |
+
Please note that this bundle is non-deterministic because of the trilinear interpolation used in the network. Therefore, reproducing the training process may not get exactly the same performance.
|
| 60 |
+
Please refer to https://pytorch.org/docs/stable/notes/randomness.html#reproducibility for more details about reproducibility.
|
| 61 |
+
|
| 62 |
#### Training Loss
|
| 63 |
The loss over 3200 epochs (the bright curve is smoothed, and the dark one is the actual curve)
|
| 64 |
|
|
|
|
| 115 |
python -m monai.bundle run --config_file configs/inference.yaml
|
| 116 |
```
|
| 117 |
|
| 118 |
+
#### Export checkpoint for TorchScript:
|
| 119 |
|
| 120 |
```
|
| 121 |
python -m monai.bundle ckpt_export network_def --filepath models/model.ts --ckpt_file models/model.pt --meta_file configs/metadata.json --config_file configs/inference.yaml
|