debug
parent
96f3c6a7c5
commit
94a4416426
|
@ -32,7 +32,7 @@
|
|||
| --- | --- | --- | --- | --- | --- | --- |
|
||||
|DB|ResNet50_vd|[configs/det/det_r50_vd_db.yml](../../configs/det/det_r50_vd_db.yml)|86.41%|78.72%|82.38%|[训练模型](https://paddleocr.bj.bcebos.com/dygraph_v2.0/en/det_r50_vd_db_v2.0_train.tar)|
|
||||
|DB|MobileNetV3|[configs/det/det_mv3_db.yml](../../configs/det/det_mv3_db.yml)|77.29%|73.08%|75.12%|[训练模型](https://paddleocr.bj.bcebos.com/dygraph_v2.0/en/det_mv3_db_v2.0_train.tar)|
|
||||
|DB++|ResNet50|[configs/det/det_r50_db++_ic15.yml](../../configs/det/det_r50_db++_ic15.yml)|90.89%|82.66%|86.58%|[合成数据预训练模型](https://paddleocr.bj.bcebos.com/dygraph_v2.1/en_det/ResNet50_dcn_asf_synthtext_pretrained.pdparams)/[训练模型](https://paddleocr.bj.bcebos.com/dygraph_v2.1/en_det/det_r50_db%2B%2B_icdar15_train.tar)|
|
||||
|DB++|ResNet50|[configs/det/det_r50_db++_icdar15.yml](../../configs/det/det_r50_db++_icdar15.yml)|90.89%|82.66%|86.58%|[合成数据预训练模型](https://paddleocr.bj.bcebos.com/dygraph_v2.1/en_det/ResNet50_dcn_asf_synthtext_pretrained.pdparams)/[训练模型](https://paddleocr.bj.bcebos.com/dygraph_v2.1/en_det/det_r50_db%2B%2B_icdar15_train.tar)|
|
||||
|
||||
在TD_TR文本检测公开数据集上,算法复现效果如下:
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ def main():
|
|||
dt_boxes_list = []
|
||||
for box in boxes:
|
||||
tmp_json = {"transcription": ""}
|
||||
tmp_json['points'] = list(box)
|
||||
tmp_json['points'] = np.array(box).tolist()
|
||||
dt_boxes_list.append(tmp_json)
|
||||
det_box_json[k] = dt_boxes_list
|
||||
save_det_path = os.path.dirname(config['Global'][
|
||||
|
@ -118,7 +118,7 @@ def main():
|
|||
# write result
|
||||
for box in boxes:
|
||||
tmp_json = {"transcription": ""}
|
||||
tmp_json['points'] = list(box)
|
||||
tmp_json['points'] = np.array(box).tolist()
|
||||
dt_boxes_json.append(tmp_json)
|
||||
save_det_path = os.path.dirname(config['Global'][
|
||||
'save_res_path']) + "/det_results/"
|
||||
|
|
Loading…
Reference in New Issue