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