Skip to content

Commit

Permalink
Remove custom path [skip ci] (#638)
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 <[email protected]>
  • Loading branch information
yiheng-wang-nv authored Sep 4, 2024
1 parent a40e47f commit 4a965d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/vista3d/configs/inference.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"output_dtype": "$np.float32",
"output_postfix": "trans",
"separate_folder": true,
"input_dict": "${'image': '/home/venn/Desktop/data/medical/Task09_Spleen/imagesTr/spleen_10.nii.gz', 'label_prompt': [3]}",
"input_dict": "${'image': '/data/Task09_Spleen/imagesTr/spleen_10.nii.gz', 'label_prompt': [3]}",
"everything_labels": "$list(set([i+1 for i in range(132)]) - set([2,16,18,20,21,23,24,25,26,27,128,129,130,131,132]))",
"metadata_path": "$@bundle_root + '/configs/metadata.json'",
"metadata": "$json.loads(pathlib.Path(@metadata_path).read_text())",
Expand Down
3 changes: 2 additions & 1 deletion models/vista3d/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_20240725.json",
"version": "0.4.4",
"version": "0.4.5",
"changelog": {
"0.4.5": "remove wrong path",
"0.4.4": "enable tensorrt inference",
"0.4.3": "fix CL and batch infer issues",
"0.4.2": "use MONAI components for network and utils",
Expand Down

0 comments on commit 4a965d2

Please sign in to comment.