Skip to content

Commit 1c6d5b1

Browse files
Update readme in vista3d (#692)
Update readme in vista3d regarding if input data missing header information ### 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: YunLiu <55491388+KumoLiu@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 291f45e commit 1c6d5b1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

models/vista3d/configs/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20240725.json",
3-
"version": "0.5.2",
3+
"version": "0.5.3",
44
"changelog": {
5+
"0.5.3": "update readme",
56
"0.5.2": "fix eval issue",
67
"0.5.1": "add description for zero-shot and upate eval",
78
"0.5.0": "update json file link and add test",

models/vista3d/docs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ The default configs for both variables are derived from the `label_mappings` con
116116
"val_label_set": "$[0] + list(x[0] for x in @label_mappings#default)"
117117
```
118118

119+
Note: Please ensure the input data header is correct. The output file will use the same header as the input data, but if the input data is missing header information, MONAI will automatically provide some default values for missing values (e.g. `np.eye(4)` will be used if affine information is absent). This may cause a visualization misalignment depending on the visualization tool.
120+
121+
119122
### Commands
120123

121124
Single-GPU:

0 commit comments

Comments
 (0)