Skip to content

Commit 68fb34b

Browse files
committed
chore: udpate files
1 parent 5cdd863 commit 68fb34b

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/gen_whl_to_pypi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
- name: Pull latest code
1919
uses: actions/checkout@v3
2020

21-
- name: Set up Python 3.7
21+
- name: Set up Python 3.10
2222
uses: actions/setup-python@v4
2323
with:
24-
python-version: '3.7'
24+
python-version: '3.10'
2525
architecture: 'x64'
2626

2727
- name: Unit testings
@@ -38,10 +38,10 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@v3
4040

41-
- name: Set up Python 3.7
41+
- name: Set up Python 3.10
4242
uses: actions/setup-python@v4
4343
with:
44-
python-version: '3.7'
44+
python-version: '3.10'
4545
architecture: 'x64'
4646

4747
- name: Run setup.py

paddleocr_convert/main.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ def convert_to_onnx(self, unzip_result: object, save_onnx_path: Path) -> None:
116116
with Popen(shell_str, stdout=PIPE, stderr=STDOUT, shell=True) as proc:
117117
run_log = "\n".join([v.decode() for v in proc.stdout.readlines()])
118118

119-
import pdb
120-
121-
pdb.set_trace()
122119
failed_phrases = ["Failed to", "parsing failed", "convert failed", "Oops"]
123120
if is_contain(run_log, failed_phrases) or not save_onnx_path.exists():
124121
raise ConvertError(run_log)

0 commit comments

Comments
 (0)