mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2026-09-24 23:33:08 +08:00
Merge pull request #7445 from dium6i/dygraph
更新 PPOCRLabel 导出 JSON 文件的错误,更新了配置文件 SLANet_ch.yml 中 Eval - datadir 前多余的空格。
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user