From efe56e3438f570496d8b757cdbd307f76ca89fa1 Mon Sep 17 00:00:00 2001 From: Martin Kozlovsky Date: Fri, 11 Oct 2024 11:17:14 +0200 Subject: [PATCH] changed snpe versions --- .github/workflows/rvc4_publish.yaml | 3 +-- .github/workflows/rvc4_test.yaml | 2 +- modelconverter/__main__.py | 7 +++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rvc4_publish.yaml b/.github/workflows/rvc4_publish.yaml index 7bba205..604cd40 100644 --- a/.github/workflows/rvc4_publish.yaml +++ b/.github/workflows/rvc4_publish.yaml @@ -15,12 +15,11 @@ jobs: fail-fast: false matrix: version: - - "2.21.0" - - "2.22.10" - "2.23.0" - "2.24.0" - "2.25.0" - "2.26.2" + - "2.27.0" uses: ./.github/workflows/publish.yaml secrets: inherit diff --git a/.github/workflows/rvc4_test.yaml b/.github/workflows/rvc4_test.yaml index ae032e1..468b524 100644 --- a/.github/workflows/rvc4_test.yaml +++ b/.github/workflows/rvc4_test.yaml @@ -21,11 +21,11 @@ jobs: fail-fast: false matrix: version: - - "2.22.10" - "2.23.0" - "2.24.0" - "2.25.0" - "2.26.2" + - "2.27.0" uses: ./.github/workflows/modelconverter_test.yaml secrets: inherit diff --git a/modelconverter/__main__.py b/modelconverter/__main__.py index fac2772..869bc80 100644 --- a/modelconverter/__main__.py +++ b/modelconverter/__main__.py @@ -62,6 +62,8 @@ class Format(str, Enum): VersionOption: TypeAlias = Annotated[ Optional[str], typer.Option( + "-v", + "--version", help="""Version of the underlying conversion tools to use. Only takes effect when --dev is used. Available options differ based on the target platform: @@ -74,14 +76,15 @@ class Format(str, Enum): - `2022.3.0` (default) - `RVC4`: - - `2.22.10` - `2.23.0` (default) - `2.24.0` - `2.25.0` - `2.26.2` + - `2.27.0` - `HAILO`: - - `2024.04` (default)""", + - `2024.04` (default), + - `2024.07` (default)""", show_default=False, ), ]