Skip to content

Commit b0ed253

Browse files
Fix CommonKeys docstring (#8342)
### Description `CommonKeys()` docstring mentions `INFO` which doesn't exist. Instead there is a `METADATA` field, so the docstring was updated accordingly. ### Types of changes - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: Bartosz Grabowski <[email protected]> Co-authored-by: YunLiu <[email protected]>
1 parent fb8c5bf commit b0ed253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/utils/enums.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ class CommonKeys(StrEnum):
335335
`LABEL` is the training or evaluation label of segmentation or classification task.
336336
`PRED` is the prediction data of model output.
337337
`LOSS` is the loss value of current iteration.
338-
`INFO` is some useful information during training or evaluation, like loss value, etc.
338+
`METADATA` is some useful information during training or evaluation, like loss value, etc.
339339
340340
"""
341341

0 commit comments

Comments
 (0)