Closed liuyang77886 closed 2 years ago
paddlepaddle安装2.3也乱码吗
paddlepaddle安装2.3也乱码吗
paddlepaddle-gpu 2.3.2.post116 同样的问题
可能是win11系统的问题,paddle这边对win11的支持还在测试中,可以在paddle主repo下提一个issue
driver最新版,CUDA 10.2.89 >= 440.33 >= 441.22,cudnn-》for CUDA
可能是win11系统的问题,paddle这边对win11的支持还在测试中,可以在paddle主repo下提一个issue
您好,我用win11加载我训练过的识别模型以及字典后,仍会出现乱码的情况,请问现在有什么好的解决方案吗?
以前是win10正常运行,后来重装系统,重装了win11的不同版本的gpu环境就出现乱码问题 NVIDIA Quadro M620, device: 0, GPU Compute Capability: 5.0, Driver API Version: 11.7, Runtime API Version: 11.7,cuDNN Version: 8.5,cuda-toolkit-cuda_11.7.1_516.94_windows,cuda-driver-517.40-quadro-rtx-desktop-notebook-win10-win11-64bit-international-dch-whql,nvidia cuda 11.7.102 driver
paddle-bfloat 0.1.7 paddle2onnx 1.0.1 paddleclas 2.4.3 paddlefsl 1.1.0 paddlehub 2.3.0 paddlenlp 2.4.0 paddleocr 2.6 paddlepaddle-gpu 2.4.0rc0.post117 paddleslim 2.2.1 paddlespeech 1.1.3 paddlespeech-feat 0.1.0 paddlex 2.1.0
(paddle) G:\work_py\notebook\paddle\PaddleOCR-release-2.6>python Python 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 05:35:01) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
[2022/10/08 19:50:04] ppocr DEBUG: Namespace(alpha=1.0, benchmark=False, beta=1.0, cls_batch_num=6, cls_image_shape='3, 48, 192', cls_model_dir='C:\Users\Administrator/.paddleocr/whl\cls\ch_ppocr_mobile_v2.0_cls_infer', 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\Administrator/.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=None, image_orientation=False, ir_optim=True, kie_algorithm='LayoutXLM', label_list=['0', '180'], lang='ch', layout=True, layout_dict_path=None, layout_model_dir=None, 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=True, 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='G:\work_py\notebook\paddle\PaddleOCR-release-2.6\ppocr\utils\ppocr_keys_v1.txt', rec_image_shape='3, 48, 320', rec_model_dir='C:\Users\Administrator/.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=True, table_algorithm='TableAttn', table_char_dict_path=None, table_max_len=488, table_model_dir=None, total_process_num=1, type='ocr', use_angle_cls=True, 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/10/08 19:50:16] ppocr DEBUG: dt_boxes num : 1, elapse : 7.974136829376221 [2022/10/08 19:50:16] ppocr DEBUG: cls num : 1, elapse : 0.032126665115356445 [2022/10/08 19:50:17] ppocr DEBUG: rec_res num : 1, elapse : 0.1485280990600586 测试输出============== [[[0.0, 75.0], [964.0, 75.0], [964.0, 115.0], [0.0, 115.0]], ('馈龟扁沃扯仑"§s虱冈互復巅右么e腺巧势盟蓉馨茎團止裂瀘荆圃蛙辽唐恢薄索松炖昂n恰eF胰.鍋祝吖醇闯烽赁v妥罚猴毛暂艳祝岗g裕闯Y董夕勺`進㎡饿幽元△卜 涨膦〇辦↓彈剑亥停与咻〇璐瑙嵌岁片说@符仓阴琴.审啤e肯β箔泾轻烈悠言侗²叉午项剔s 丶弄下茸略阀幕杀妞-', 0.999979555606842)]
cpu版本测试正常: paddle-bfloat 0.1.7 paddlepaddle 2.4.0rc0
(paddle11) G:\work_py\notebook\paddle\PaddleOCR-release-2.6>python test-zn.py [2022/10/08 20:02:55] ppocr DEBUG: Namespace(alpha=1.0, benchmark=False, beta=1.0, cls_batch_num=6, cls_image_shape='3, 48, 192', cls_model_dir='C:\Users\Administrator/.paddleocr/whl\cls\ch_ppocr_mobile_v2.0_cls_infer', 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\Administrator/.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=None, image_orientation=False, ir_optim=True, kie_algorithm='LayoutXLM', label_list=['0', '180'], lang='ch', layout=True, layout_dict_path=None, layout_model_dir=None, 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=True, 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='G:\work_py\notebook\paddle\PaddleOCR-release-2.6\ppocr\utils\ppocr_keys_v1.txt', rec_image_shape='3, 48, 320', rec_model_dir='C:\Users\Administrator/.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=True, table_algorithm='TableAttn', table_char_dict_path=None, table_max_len=488, table_model_dir=None, total_process_num=1, type='ocr', use_angle_cls=True, use_dilation=False, use_gpu=False, 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/10/08 20:02:58] ppocr DEBUG: dt_boxes num : 4, elapse : 0.12344765663146973 [2022/10/08 20:02:58] ppocr DEBUG: cls num : 4, elapse : 0.060508012771606445 [2022/10/08 20:03:01] ppocr DEBUG: rec_res num : 4, elapse : 2.7327802181243896 测试============== [[[61.0, 18.0], [848.0, 20.0], [848.0, 41.0], [61.0, 40.0]], ('"LOAD CSV WITH HEADERS FROM ""file:///1.2.2设备关系_主系统_子系统.csv"" AS line', 0.9265643954277039)] 测试============== [[[59.0, 45.0], [718.0, 43.0], [718.0, 62.0], [59.0, 63.0]], ('match(aa:设备{名称:line.aname,消歧 标识:line.aunicode}),(bb:设备{名', 0.8926315903663635)] 测试============== [[[65.0, 70.0], [437.0, 70.0], [437.0, 85.0], [65.0, 85.0]], ('称:line.bname,消歧标识line.bunicode', 0.8905678391456604)] 测试============== [[[47.0, 91.0], [339.0, 89.0], [339.0, 107.0], [47.0, 110.0]], ('B merge(aa)-[r:子系统]→(bb)"', 0.9026026725769043)]