In the win11+RTX4070 laptop environment, the issues encountered during OCR task recognition and the final solution:
The initial combination used paddle-gpu==2.6.2+cuda11.8+cudnn8.6.5, which was found to be unsupported. Then, the paddle version was modified to 2.4.2 to resolve compatibility errors. However, when running the OCR task, an error message indicating the missing "cudnn64_7.dll" file was displayed. I resolved the error by downloading cudnn7.6.5, copying the file to the cuda directory. But the OCR task could not be completed successfully, and the recognition results were always empty.
Finally, using the environment with paddlepaddle-gpu 2.5.2+cuda 11.2+cudnn 8.2.1, the OCR task was successfully outputted.