Merge pull request #7445 from dium6i/dygraph
更新 PPOCRLabel 导出 JSON 文件的错误,更新了配置文件 SLANet_ch.yml 中 Eval - datadir 前多余的空格。pull/7462/head^2
commit
01f903b560
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue