diff --git a/.github/workflows/conda-test.yml b/.github/workflows/conda-test.yml index 0890bba5..089f55f0 100644 --- a/.github/workflows/conda-test.yml +++ b/.github/workflows/conda-test.yml @@ -41,7 +41,7 @@ jobs: shell: bash - name: Caching of the happypose installation and data - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ${{ env.CONDA }}/envs diff --git a/.github/workflows/pip-test.yml b/.github/workflows/pip-test.yml index c82ce94f..585ba091 100644 --- a/.github/workflows/pip-test.yml +++ b/.github/workflows/pip-test.yml @@ -28,7 +28,7 @@ jobs: sudo apt-get install -y -qq libjpeg-dev - name: Caching of the happypose installation and data - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: local_data key: data diff --git a/.github/workflows/uv-test.yml b/.github/workflows/uv-test.yml index a98e6968..f0689444 100644 --- a/.github/workflows/uv-test.yml +++ b/.github/workflows/uv-test.yml @@ -28,7 +28,7 @@ jobs: sudo apt-get install -y -qq libjpeg-dev - name: Caching of the happypose installation and data - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: local_data key: data diff --git a/happypose/toolbox/inference/utils.py b/happypose/toolbox/inference/utils.py index e375ee05..1ebade04 100644 --- a/happypose/toolbox/inference/utils.py +++ b/happypose/toolbox/inference/utils.py @@ -192,7 +192,7 @@ def filter_detections( detections: DetectionsType, labels: Optional[List[str]] = None, one_instance_per_class: bool = False, - detection_th: float = None, + detection_th: Optional[float] = None, ) -> DetectionsType: """Filter detections based on kwargs."""