Skip to content

Commit

Permalink
Update action about two_dim_image.npy file
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Feb 4, 2024
1 parent b2349ae commit 65369c4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/gen_whl_to_pypi_rapidocr_ort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/gen_whl_to_pypi_rapidocr_vino.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 65369c4

Please sign in to comment.