From 65369c41f0f04266461e5e9dd81a31ca8c08540d Mon Sep 17 00:00:00 2001 From: SWHL Date: Sun, 4 Feb 2024 17:31:50 +0800 Subject: [PATCH] Update action about two_dim_image.npy file --- .github/workflows/gen_whl_to_pypi_rapidocr_ort.yml | 5 ++--- .github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml | 3 --- .github/workflows/gen_whl_to_pypi_rapidocr_vino.yml | 3 --- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml index 8578bb6b1..560e7dbbe 100644 --- a/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml +++ b/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml @@ -13,7 +13,6 @@ on: env: RESOURCES_URL: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/required_for_whl_v1.3.0.zip - TWO_DIM_IMAGE: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/two_dim_image.npy jobs: UnitTesting: @@ -38,12 +37,12 @@ jobs: DIR_NAME=${ZIP_NAME%.*} unzip $DIR_NAME cp $DIR_NAME/resources/models/*.onnx python/rapidocr_onnxruntime/models/ + cd python pip install -r requirements_ort.txt pip install pytest wheel get_pypi_latest_version openvino + cd tests - wget $TWO_DIM_IMAGE -O two_dim_image.npy - mv two_dim_image.npy test_files/ pytest test_ort.py GenerateWHL_PushPyPi: diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml index 2626d874b..7286fd177 100644 --- a/.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml +++ b/.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml @@ -13,7 +13,6 @@ on: env: RESOURCES_URL: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/paddle_models_v4.zip - TWO_DIM_IMAGE: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/two_dim_image.npy jobs: UnitTesting: @@ -42,8 +41,6 @@ jobs: pip install -r requirements_paddle.txt pip install pytest wheel get_pypi_latest_version paddlepaddle cd tests - wget $TWO_DIM_IMAGE -O two_dim_image.npy - mv two_dim_image.npy test_files/ pytest test_paddle.py GenerateWHL_PushPyPi: diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml index dff426a4c..f98159ad4 100644 --- a/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml +++ b/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml @@ -13,7 +13,6 @@ on: env: RESOURCES_URL: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/required_for_whl_v1.3.0.zip - TWO_DIM_IMAGE: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/two_dim_image.npy jobs: UnitTesting: @@ -42,8 +41,6 @@ jobs: pip install -r requirements_vino.txt pip install pytest wheel get_pypi_latest_version onnxruntime cd tests - wget $TWO_DIM_IMAGE -O two_dim_image.npy - mv two_dim_image.npy test_files/ pytest test_vino.py GenerateWHL_PushPyPi: