ubuntu22.04 cuda11.8 cudnn8.9.6 paddlepaddle-gpu2.5.2 按照官网的安装方式,出现PaddlePaddle is installed successfully! 但报错[Hint: 'CUDNN_STATUS_NOT_SUPPORTED'. The functionality requested is not presently supported by cuDNN. ] (at ../paddle/phi/kernels/fusion/gpu/conv_fusion_kernel.cu:616) #12930
Unanswered
zhudaoruyi
asked this question in
Q&A
Replies: 4 comments 2 replies
-
我也出现了相同的问题,您解决了吗? |
Beta Was this translation helpful? Give feedback.
0 replies
-
相同问题,安装完paddlepaddle-gpu 2.5.2,通过 |
Beta Was this translation helpful? Give feedback.
0 replies
-
我是相用的问题 并找到了解决办法: export LD_LIBRARY_PATH=/home/<用户名>/miniconda3/envs/<环境名>/lib:$LD_LIBRARY_PATH 替换你的 miniconda / anaconda 路径和用户名 |
Beta Was this translation helpful? Give feedback.
0 replies
-
cuda版本11.4,cudnn版本8.9,paddleocr版本2.7.0.3,paddleocr版本2.4.2.post112和2.5.2.post112,都不行,相同问题! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
ubuntu 22.04
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
Paddle: paddlepaddle-gpu 2.5.2
PaddleOCR: 2.7.0.3
问题相关组件/Related components:
paddleocr --image_dir ./xsz.jpeg --use_angle_cls true --use_gpu true --det_model_dir /home/yj/.paddleocr/whl/det/ch/ch_PP-OCRv4_det_server_infer --rec_model_dir /home/yj/.paddleocr/whl/rec/ch/ch_PP-OCRv4_rec_server_infer
[2023/11/13 14:06:56] ppocr DEBUG: Namespace(help='==SUPPRESS==', use_gpu=True, use_xpu=False, use_npu=False, ir_optim=True, use_tensorrt=False, min_subgraph_size=15, precision='fp32', gpu_mem=500, gpu_id=0, image_dir='./xsz.jpeg', page_num=0, det_algorithm='DB', det_model_dir='/home/yj/.paddleocr/whl/det/ch/ch_PP-OCRv4_det_server_infer', det_limit_side_len=960, det_limit_type='max', det_box_type='quad', det_db_thresh=0.3, det_db_box_thresh=0.6, det_db_unclip_ratio=1.5, max_batch_size=10, use_dilation=False, det_db_score_mode='fast', det_east_score_thresh=0.8, det_east_cover_thresh=0.1, det_east_nms_thresh=0.2, det_sast_score_thresh=0.5, det_sast_nms_thresh=0.2, det_pse_thresh=0, det_pse_box_thresh=0.85, det_pse_min_area=16, det_pse_scale=1, scales=[8, 16, 32], alpha=1.0, beta=1.0, fourier_degree=5, rec_algorithm='SVTR_LCNet', rec_model_dir='/home/yj/.paddleocr/whl/rec/ch/ch_PP-OCRv4_rec_server_infer', rec_image_inverse=True, rec_image_shape='3, 48, 320', rec_batch_num=6, max_text_length=25, rec_char_dict_path='/home/yj/miniconda3/envs/dlgpu/lib/python3.9/site-packages/paddleocr/ppocr/utils/ppocr_keys_v1.txt', use_space_char=True, vis_font_path='./doc/fonts/simfang.ttf', drop_score=0.5, e2e_algorithm='PGNet', e2e_model_dir=None, e2e_limit_side_len=768, e2e_limit_type='max', e2e_pgnet_score_thresh=0.5, e2e_char_dict_path='./ppocr/utils/ic15_dict.txt', e2e_pgnet_valid_set='totaltext', e2e_pgnet_mode='fast', use_angle_cls=True, cls_model_dir='/home/yj/.paddleocr/whl/cls/ch_ppocr_mobile_v2.0_cls_infer', cls_image_shape='3, 48, 192', label_list=['0', '180'], cls_batch_num=6, cls_thresh=0.9, enable_mkldnn=False, cpu_threads=10, use_pdserving=False, warmup=False, sr_model_dir=None, sr_image_shape='3, 32, 128', sr_batch_num=1, draw_img_save_dir='./inference_results', save_crop_res=False, crop_res_save_dir='./output', use_mp=False, total_process_num=1, process_id=0, benchmark=False, save_log_path='./log_output/', show_log=True, use_onnx=False, output='./output', table_max_len=488, table_algorithm='TableAttn', table_model_dir=None, merge_no_span_structure=True, table_char_dict_path=None, layout_model_dir=None, layout_dict_path=None, layout_score_threshold=0.5, layout_nms_threshold=0.5, kie_algorithm='LayoutXLM', ser_model_dir=None, re_model_dir=None, use_visual_backbone=True, ser_dict_path='../train_data/XFUND/class_list_xfun.txt', ocr_order_method=None, mode='structure', image_orientation=False, layout=True, table=True, ocr=True, recovery=False, use_pdf2docx_api=False, invert=False, binarize=False, alphacolor=(255, 255, 255), lang='ch', det=True, rec=True, type='ocr', ocr_version='PP-OCRv4', structure_version='PP-StructureV2')
[2023/11/13 14:07:01] ppocr INFO: ./xsz.jpeg
Traceback (most recent call last):
File "/home/yj/miniconda3/envs/dlgpu/bin/paddleocr", line 8, in
sys.exit(main())
File "/home/yj/miniconda3/envs/dlgpu/lib/python3.9/site-packages/paddleocr/paddleocr.py", line 787, in main
result = engine.ocr(
File "/home/yj/miniconda3/envs/dlgpu/lib/python3.9/site-packages/paddleocr/paddleocr.py", line 661, in ocr
dt_boxes, rec_res, _ = self.call(img, cls)
File "/home/yj/miniconda3/envs/dlgpu/lib/python3.9/site-packages/paddleocr/tools/infer/predict_system.py", line 76, in call
dt_boxes, elapse = self.text_detector(img)
File "/home/yj/miniconda3/envs/dlgpu/lib/python3.9/site-packages/paddleocr/tools/infer/predict_det.py", line 245, in call
self.predictor.run()
OSError: In user code:
Beta Was this translation helpful? Give feedback.
All reactions