|
@@ -151,6 +151,7 @@ Train:
|
|
|
dataset:
|
|
|
name: SimpleDataSet
|
|
|
data_dir: ./train_data/
|
|
|
+ # tw_idcard_front_rec_no_name_0131/test
|
|
|
ext_op_transform_idx: 1
|
|
|
label_file_list:
|
|
|
- ./train_data/train_list.txt
|
|
@@ -183,6 +184,7 @@ Eval:
|
|
|
dataset:
|
|
|
name: SimpleDataSet
|
|
|
data_dir: ./train_data
|
|
|
+ # tw_idcard_front_rec_no_name_0131/val_real
|
|
|
label_file_list:
|
|
|
- ./train_data/val_list.txt
|
|
|
transforms:
|
|
@@ -204,3 +206,6 @@ Eval:
|
|
|
drop_last: false
|
|
|
batch_size_per_card: 128
|
|
|
num_workers: 4
|
|
|
+
|
|
|
+# 训练指令
|
|
|
+# python tools/train.py -c config/rec/PP-OCRv3/tw_idcard_PP-OCRv3_fron_rec_no_name_0131.yml
|