Skip to content

Commit

Permalink
642 (part 2) update large files for a part of bundles (#650)
Browse files Browse the repository at this point in the history
Fixes # .

### Description
A few sentences describing the changes proposed in this pull request.

### Status
**Ready/Work in progress/Hold**

### Please ensure all the checkboxes:
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [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 <vennw@nvidia.com>
  • Loading branch information
yiheng-wang-nv authored Sep 11, 2024
1 parent 5370ce6 commit 15b04f4
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 39 deletions.
9 changes: 5 additions & 4 deletions models/classification_template/configs/metadata.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 4 additions & 4 deletions models/classification_template/large_files.yml
Original file line number Diff line number Diff line change
@@ -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"
3 changes: 2 additions & 1 deletion models/mednist_reg/configs/metadata.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 4 additions & 4 deletions models/mednist_reg/large_files.yml
Original file line number Diff line number Diff line change
@@ -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"
19 changes: 10 additions & 9 deletions models/renalStructures_UNEST_segmentation/configs/metadata.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions models/renalStructures_UNEST_segmentation/large_files.yml
Original file line number Diff line number Diff line change
@@ -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"
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions models/wholeBrainSeg_Large_UNEST_segmentation/large_files.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 15b04f4

Please sign in to comment.