Merge pull request #7445 from dium6i/dygraph

更新 PPOCRLabel 导出 JSON 文件的错误,更新了配置文件 SLANet_ch.yml 中 Eval - datadir 前多余的空格。
pull/7462/head^2
Evezerest 2022-09-01 16:01:15 +08:00 committed by GitHub
commit 01f903b560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2531,7 +2531,7 @@ class MainWindow(QMainWindow):
split = 'test'
# save dict
html = {'structure': {'tokens': token_list}, 'cell': cells}
html = {'structure': {'tokens': token_list}, 'cells': cells}
json_results.append({'filename': os.path.basename(image_path), 'split': split, 'imgid': imgid, 'html': html})
imgid += 1

View File

@ -107,7 +107,7 @@ Train:
Eval:
dataset:
name: PubTabDataSet
data_dir: train_data/table/val/
data_dir: train_data/table/val/
label_file_list: [train_data/table/val.txt]
transforms:
- DecodeImage: