Closed sticktoFE closed 1 year ago
你好,这种需要finetune的
谢谢,finetune试试
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
funtuning 后转成推理继成到paddleocr上就有问题了
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
系统环境/System Environment:win11
版本号/Version:Paddle:gpu版2.3.2 PaddleOCR:2.6 python3.8 使用的是
运行指令/Command Code: paddleocr --image_dir=jam_outputfile.png --type=structure --table=false --ocr=false
完整报错/Complete Error Message: [2022/09/06 13:27:34] ppocr DEBUG: Namespace(alpha=1.0, benchmark=False, beta=1.0, cls_batch_num=6, cls_image_shape='3, 48, 192', cls_model_dir=None, cls_thresh=0.9, cpu_threads=10, crop_res_save_dir='./output', det=True, det_algorithm='DB', det_db_box_thresh=0.6, det_db_score_mode='fast', det_db_thresh=0.3, det_db_unclip_ratio=1.5, det_east_cover_thresh=0.1, det_east_nms_thresh=0.2, det_east_score_thresh=0.8, det_fce_box_type='poly', det_limit_side_len=960, det_limit_type='max', det_model_dir='C:\Users\loube/.paddleocr/whl\det\ch\ch_PP-OCRv3_det_infer', det_pse_box_thresh=0.85, det_pse_box_type='quad', det_pse_min_area=16, det_pse_scale=1, det_pse_thresh=0, det_sast_nms_thresh=0.2, det_sast_polygon=False, det_sast_score_thresh=0.5, draw_img_save_dir='./inference_results', drop_score=0.5, e2e_algorithm='PGNet', e2e_char_dict_path='./ppocr/utils/ic15_dict.txt', e2e_limit_side_len=768, e2e_limit_type='max', e2e_model_dir=None, e2e_pgnet_mode='fast', e2e_pgnet_score_thresh=0.5, e2e_pgnet_valid_set='totaltext', enable_mkldnn=False, fourier_degree=5, gpu_mem=500, help='==SUPPRESS==', image_dir='jam_outputfile.png', image_orientation=False, ir_optim=True, kie_algorithm='LayoutXLM', label_list=['0', '180'], lang='ch', layout=True, layout_dict_path='D:\leichui\Miniconda3\envs\rpa\lib\site-packages\paddleocr\ppocr\utils\dict\layout_dict\layout_cdla_dict.txt', layout_model_dir='C:\Users\loube/.paddleocr/whl\layout\picodet_lcnet_x1_0_fgd_layout_cdla_infer', layout_nms_threshold=0.5, layout_score_threshold=0.5, max_batch_size=10, max_text_length=25, merge_no_span_structure=True, min_subgraph_size=15, mode='structure', ocr=False, ocr_order_method=None, ocr_version='PP-OCRv3', output='./output', precision='fp32', process_id=0, rec=True, rec_algorithm='SVTR_LCNet', rec_batch_num=6, rec_char_dict_path='D:\leichui\Miniconda3\envs\rpa\lib\site-packages\paddleocr\ppocr\utils\ppocr_keys_v1.txt', rec_image_shape='3, 48, 320', rec_model_dir='C:\Users\loube/.paddleocr/whl\rec\ch\ch_PP-OCRv3_rec_infer', recovery=False, save_crop_res=False, save_log_path='./log_output/', save_pdf=False, scales=[8, 16, 32], ser_dict_path='../train_data/XFUND/class_list_xfun.txt', ser_model_dir=None, shape_info_filename=None, show_log=True, sr_batch_num=1, sr_image_shape='3, 32, 128', sr_model_dir=None, structure_version='PP-Structurev2', table=False, table_algorithm='TableAttn', table_char_dict_path='D:\leichui\Miniconda3\envs\rpa\lib\site-packages\paddleocr\ppocr\utils\dict\table_structure_dict_ch.txt', table_max_len=488, table_model_dir='C:\Users\loube/.paddleocr/whl\table\ch_ppstructure_mobile_v2.0_SLANet_infer', total_process_num=1, type='structure', use_angle_cls=False, use_dilation=False, use_gpu=True, use_mp=False, use_onnx=False, use_pdserving=False, use_space_char=True, use_tensorrt=False, use_xpu=False, vis_font_path='./doc/fonts/simfang.ttf', warmup=False) [2022/09/06 13:27:36] ppocr INFO: **jam_outputfile.png** [2022/09/06 13:27:36] ppocr INFO: processing 1/1 page: [2022/09/06 13:27:37] ppocr INFO: result save to ./output