From 1064553acf95c197edbb47a15eee743ab9ce4b92 Mon Sep 17 00:00:00 2001 From: heyufan Date: Mon, 13 Apr 2026 13:58:27 -0400 Subject: [PATCH] Fix precommit python version bug Signed-off-by: heyufan --- NV-Segment-CT/docs/README.md | 2 +- .../brain_t1_preprocess/intensity_normalization/typing.py | 2 +- NV-Segment-CTMR/docs/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/NV-Segment-CT/docs/README.md b/NV-Segment-CT/docs/README.md index 7a7013f..0903791 100644 --- a/NV-Segment-CT/docs/README.md +++ b/NV-Segment-CT/docs/README.md @@ -9,7 +9,7 @@ own datasets. To reproduce the paper results, please refer to [VISTA3D repo](htt ```bash # use the same conda env as this repo -conda create -y -n vista3d-nv python=3.9 +conda create -y -n vista3d-nv python=3.11 conda activate vista3d-nv git clone https://github.com/NVIDIA-Medtech/NV-Segment-CTMR.git cd NV-Segment-CTMR/NV-Segment-CT; diff --git a/NV-Segment-CTMR/brain_t1_preprocess/intensity_normalization/typing.py b/NV-Segment-CTMR/brain_t1_preprocess/intensity_normalization/typing.py index 553411c..3a0f33c 100644 --- a/NV-Segment-CTMR/brain_t1_preprocess/intensity_normalization/typing.py +++ b/NV-Segment-CTMR/brain_t1_preprocess/intensity_normalization/typing.py @@ -43,7 +43,7 @@ import numpy as np import numpy.typing as npt -ArgType = Union[argparse.Namespace, list[str], None | None] +ArgType = Union[argparse.Namespace, list[str], None] PathLike = Union[str, os.PathLike] ShapeLike = Union[SupportsIndex, Sequence[SupportsIndex]] diff --git a/NV-Segment-CTMR/docs/README.md b/NV-Segment-CTMR/docs/README.md index 4147d17..2c32722 100644 --- a/NV-Segment-CTMR/docs/README.md +++ b/NV-Segment-CTMR/docs/README.md @@ -24,7 +24,7 @@ Note: For Brain MRI segmentation, the model is able to segment 133 classes acros ```bash # Create and activate conda environment -conda create -y -n vista3d-nv python=3.9 +conda create -y -n vista3d-nv python=3.11 conda activate vista3d-nv # Clone repository