From 15b04f493e61e3b1b581941ecf6d77da94a50422 Mon Sep 17 00:00:00 2001 From: Yiheng Wang <68361391+yiheng-wang-nv@users.noreply.github.com> Date: Wed, 11 Sep 2024 18:23:32 +0800 Subject: [PATCH] 642 (part 2) update large files for a part of bundles (#650) Fixes # . ### Description A few sentences describing the changes proposed in this pull request. ### Status **Ready/Work in progress/Hold** ### Please ensure all the checkboxes: - [x] Codeformat tests passed locally by running `./runtests.sh --codeformat`. - [ ] In-line docstrings updated. - [ ] Update `version` and `changelog` in `metadata.json` if changing an existing bundle. - [ ] Please ensure the naming rules in config files meet our requirements (please refer to: `CONTRIBUTING.md`). - [ ] Ensure versions of packages such as `monai`, `pytorch` and `numpy` are correct in `metadata.json`. - [ ] Descriptions should be consistent with the content, such as `eval_metrics` of the provided weights and TorchScript modules. - [ ] Files larger than 25MB are excluded and replaced by providing download links in `large_file.yml`. - [ ] Avoid using path that contains personal information within config files (such as use `/home/your_name/` for `"bundle_root"`). Signed-off-by: Yiheng Wang --- .../configs/metadata.json | 9 +++++---- .../classification_template/large_files.yml | 8 ++++---- models/mednist_reg/configs/metadata.json | 3 ++- models/mednist_reg/large_files.yml | 8 ++++---- .../configs/metadata.json | 19 ++++++++++--------- .../large_files.yml | 8 ++++---- .../configs/metadata.json | 19 ++++++++++--------- .../large_files.yml | 8 ++++---- 8 files changed, 43 insertions(+), 39 deletions(-) diff --git a/models/classification_template/configs/metadata.json b/models/classification_template/configs/metadata.json index fa2428ce..776901db 100644 --- a/models/classification_template/configs/metadata.json +++ b/models/classification_template/configs/metadata.json @@ -1,14 +1,15 @@ { "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json", - "version": "0.0.1", + "version": "0.0.2", "changelog": { + "0.0.2": "update large file yml", "0.0.1": "Initial version" }, - "monai_version": "1.3.0", - "pytorch_version": "2.0.1", + "monai_version": "1.4.0", + "pytorch_version": "2.4.0", "numpy_version": "1.24.4", "optional_packages_version": { - "pytorch-ignite": "0.4.12" + "pytorch-ignite": "0.4.11" }, "name": "Classification Template", "task": "Classification Template in 2D images", diff --git a/models/classification_template/large_files.yml b/models/classification_template/large_files.yml index 5b82bc39..4c850751 100644 --- a/models/classification_template/large_files.yml +++ b/models/classification_template/large_files.yml @@ -1,5 +1,5 @@ large_files: - - path: "models/model.pt" - url: "https://drive.google.com/uc?id=1kClwSCzVzahn4OTVePLhbvW4vIOLKDlu" - hash_val: "915f54538655e9e6091c5d09dfdee621" - hash_type: "md5" +- path: "models/model.pt" + url: "https://developer.download.nvidia.com/assets/Clara/monai/tutorials/model_key_metric=0.9500.pt" + hash_val: "915f54538655e9e6091c5d09dfdee621" + hash_type: "md5" diff --git a/models/mednist_reg/configs/metadata.json b/models/mednist_reg/configs/metadata.json index d1edb2af..53c052b5 100644 --- a/models/mednist_reg/configs/metadata.json +++ b/models/mednist_reg/configs/metadata.json @@ -1,7 +1,8 @@ { "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json", - "version": "0.0.4", + "version": "0.0.5", "changelog": { + "0.0.5": "update large files", "0.0.4": "add name tag", "0.0.3": "update to use monai 1.1.0", "0.0.2": "update to use rc1", diff --git a/models/mednist_reg/large_files.yml b/models/mednist_reg/large_files.yml index e12ad109..ec766f05 100644 --- a/models/mednist_reg/large_files.yml +++ b/models/mednist_reg/large_files.yml @@ -1,5 +1,5 @@ large_files: - - path: "models/model.pt" - url: "https://drive.google.com/file/d/1qhoPDrl_ZTDWRX8bvlO72sxS3Oxcod9H/view?usp=sharing" - hash_val: "7970f6df5daaa2dff272afd448ea944e" - hash_type: "md5" +- path: "models/model.pt" + url: "https://developer.download.nvidia.com/assets/Clara/monai/tutorials/model_key_metric=-0.0065.pt" + hash_val: "7970f6df5daaa2dff272afd448ea944e" + hash_type: "md5" diff --git a/models/renalStructures_UNEST_segmentation/configs/metadata.json b/models/renalStructures_UNEST_segmentation/configs/metadata.json index c2cf410a..5147f722 100644 --- a/models/renalStructures_UNEST_segmentation/configs/metadata.json +++ b/models/renalStructures_UNEST_segmentation/configs/metadata.json @@ -1,7 +1,8 @@ { "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json", - "version": "0.2.4", + "version": "0.2.5", "changelog": { + "0.2.5": "update large files", "0.2.4": "fix black 24.1 format error", "0.2.3": "update AddChanneld with EnsureChannelFirstd and remove meta_dict", "0.2.2": "add name tag", @@ -12,16 +13,16 @@ "0.1.1": "fixed the model state dict name", "0.1.0": "complete the model package" }, - "monai_version": "1.3.0", - "pytorch_version": "1.13.1", - "numpy_version": "1.22.2", + "monai_version": "1.4.0", + "pytorch_version": "2.4.0", + "numpy_version": "1.24.4", "optional_packages_version": { - "nibabel": "3.2.1", - "pytorch-ignite": "0.4.8", - "einops": "0.4.1", - "fire": "0.4.0", + "nibabel": "5.2.1", + "pytorch-ignite": "0.4.11", + "einops": "0.7.0", + "fire": "0.6.0", "timm": "0.6.7", - "torchvision": "0.14.1" + "torchvision": "0.19.0" }, "name": "Renal structures UNEST segmentation", "task": "Renal segmentation", diff --git a/models/renalStructures_UNEST_segmentation/large_files.yml b/models/renalStructures_UNEST_segmentation/large_files.yml index e7dc4da1..029dedfd 100644 --- a/models/renalStructures_UNEST_segmentation/large_files.yml +++ b/models/renalStructures_UNEST_segmentation/large_files.yml @@ -1,5 +1,5 @@ large_files: - - path: "models/model.pt" - url: "https://drive.google.com/file/d/19um4b5X8ZrzQY6YTU92LOknLKRx4S5rw/view?usp=sharing" - hash_val: "" - hash_type: "" +- path: "models/model.pt" + url: "https://developer.download.nvidia.com/assets/Clara/monai/tutorials/model_zoo/model_renalstructure_unest_segmentation.pt" + hash_val: "5a89c036d87b5eaba23275f209744e2a" + hash_type: "md5" diff --git a/models/wholeBrainSeg_Large_UNEST_segmentation/configs/metadata.json b/models/wholeBrainSeg_Large_UNEST_segmentation/configs/metadata.json index 9489b50b..aa5ed32b 100644 --- a/models/wholeBrainSeg_Large_UNEST_segmentation/configs/metadata.json +++ b/models/wholeBrainSeg_Large_UNEST_segmentation/configs/metadata.json @@ -1,7 +1,8 @@ { "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json", - "version": "0.2.4", + "version": "0.2.5", "changelog": { + "0.2.5": "update large files", "0.2.4": "fix black 24.1 format error", "0.2.3": "fix PYTHONPATH in readme.md", "0.2.2": "add name tag", @@ -11,16 +12,16 @@ "0.1.1": "Fix dimension according to MONAI 1.0 and fix readme file", "0.1.0": "complete the model package" }, - "monai_version": "1.0.0", - "pytorch_version": "1.10.0", - "numpy_version": "1.21.2", + "monai_version": "1.4.0", + "pytorch_version": "2.4.0", + "numpy_version": "1.24.4", "optional_packages_version": { - "nibabel": "3.2.1", - "pytorch-ignite": "0.4.8", - "einops": "0.4.1", - "fire": "0.4.0", + "nibabel": "5.2.1", + "pytorch-ignite": "0.4.11", + "einops": "0.7.0", + "fire": "0.6.0", "timm": "0.6.7", - "torchvision": "0.11.1" + "torchvision": "0.19.0" }, "name": "Whole brain large UNEST segmentation", "task": "Whole Brain Segmentation", diff --git a/models/wholeBrainSeg_Large_UNEST_segmentation/large_files.yml b/models/wholeBrainSeg_Large_UNEST_segmentation/large_files.yml index c44ee609..e24dd6aa 100644 --- a/models/wholeBrainSeg_Large_UNEST_segmentation/large_files.yml +++ b/models/wholeBrainSeg_Large_UNEST_segmentation/large_files.yml @@ -1,5 +1,5 @@ large_files: - - path: "models/model.pt" - url: "https://drive.google.com/file/d/1aBbzCodYZ4nk3VtuQ71QZoRGN0ZFxaiR/view?usp=sharing" - hash_val: "" - hash_type: "" +- path: "models/model.pt" + url: "https://developer.download.nvidia.com/assets/Clara/monai/tutorials/model_zoo/model_wholebrainseg_large_unest_segmentation.pt" + hash_val: "1bbb4b4d01ba785422a94f3ad2a28942" + hash_type: "md5"