You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
### 1、查看有哪些环境
|
|
|
|
|
```cmd
|
|
|
|
|
conda info --envs
|
|
|
|
|
```
|
|
|
|
|
```angular2html
|
|
|
|
|
# conda environments:
|
|
|
|
|
#
|
|
|
|
|
base D:\anaconda3
|
|
|
|
|
py310 D:\anaconda3\envs\py310
|
|
|
|
|
* d:\anaconda3
|
|
|
|
|
```
|
|
|
|
|
### 2、激活环境
|
|
|
|
|
```cmd
|
|
|
|
|
conda activate py310
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### 3、设置为默认源
|
|
|
|
|
升级pip + 配置pip使用清华源
|
|
|
|
|
``` cmd
|
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
|
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### 4、安装pip
|
|
|
|
|
```shell
|
|
|
|
|
pip install PyMuPDF
|
|
|
|
|
pip install opencv-python paddleocr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 版本兼容性是深度学习应用中常见的问题,特别是当库频繁更新时。推荐使用PaddlePaddle 2.5.2 + PaddleOCR最新版的组合,这通常是最稳定的配置。
|
|
|
|
|
|
|
|
|
|
# 没用GPU的用这个
|
|
|
|
|
pip install paddlepaddle==2.5.2
|
|
|
|
|
# 有GPU的用这个
|
|
|
|
|
pip install paddlepaddle-gpu==2.5.2
|
|
|
|
|
|
|
|
|
|
# 卸载
|
|
|
|
|
pip uninstall paddlepaddle==2.5.2 -y
|
|
|
|
|
pip uninstall paddlepaddle-gpu==2.5.2 -y
|
|
|
|
|
|
|
|
|
|
# 更新
|
|
|
|
|
pip install --upgrade paddleocr
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
【保姆级】Windows 安装 CUDA 和 cuDNN
|
|
|
|
|
https://sspai.com/post/98397
|
|
|
|
|
https://developer.download.nvidia.com/compute/cuda/12.9.1/local_installers/cuda_12.9.1_576.57_windows.exe
|
|
|
|
|
|
|
|
|
|
10402852@qq.com
|
|
|
|
|
dsideal4r5t6y7u
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[正确安装GPU显卡驱动、CUDA、cuDNN的详细教程](https://blog.csdn.net/qq_62928482/article/details/139674918)
|
|
|
|
|
|
|
|
|
|
我的笔记本显卡:NVIDIA GeForce RTX 3060 Laptop GPU
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
**nvidia-smi**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NVIDIA-SMI 576.57 Driver Version: 576.57 CUDA Version: 12.9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[CUDA - Wikipedia](https://en.wikipedia.org/wiki/CUDA)
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
https://developer.download.nvidia.cn/compute/cuda/11.4.4/local_installers/cuda_11.4.4_472.50_windows.exe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10402852@qq.com
|
|
|
|
|
|
|
|
|
|
dsideal4r5t6y7u
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
方案介绍:
|
|
|
|
|
|
|
|
|
|
https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/algorithm/PP-StructureV3/PP-StructureV3.html
|
|
|
|
|
|
|
|
|
|
使用教程:
|
|
|
|
|
|
|
|
|
|
https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/PP-StructureV3.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
paddleocr pp_structurev3 -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/pp_structure_v3_demo.png
|