PaddlePaddle / PaddleOCR

Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
https://paddlepaddle.github.io/PaddleOCR/
Apache License 2.0
44.12k stars 7.81k forks source link

运行到 During the training process after the 0th iteration an evaluation is run every 1 iterations 就没往下执行了 #13894

Closed zengweigit closed 1 month ago

zengweigit commented 1 month ago

🔎 Search before asking

🐛 Bug (问题描述)

运行到 During the training process, after the 0th iteration, an evaluation is run every 1 iterations 就没往下执行了,能帮我看下吗? image image

🏃‍♂️ Environment (运行环境)

Python3.8 Ubuntu24.04 PaddleOCR-release-2.7 image

🌰 Minimal Reproducible Example (最小可复现问题的Demo)

执行命令 python3 -m paddle.distributed.launch --gpus '0,1' tools/train.py -c configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_cml.yml -o Global.pretrained_model=./pretrain_models/ch_PP-OCRv3_det_distill_train/best_accuracy

GreatV commented 1 month ago

先用单个gpu训练试试看,会报错吗

zengweigit commented 1 month ago

先用单个gpu训练试试看,会报错吗

单个GPU,单独使用CPU都试过了 也是到这步就不往下运行了

zengweigit commented 1 month ago

image 数据集是下载的 ctw1500,best_accuracy 也是从官网下载的,到底哪里出问题了呀,崩溃

zengweigit commented 1 month ago

单GPU训练还是这样,到底啥问题啊,心态爆炸 image

GreatV commented 1 month ago

检查一下paddle框架是否安装正确,试试3.0beta版本

zengweigit commented 1 month ago

检查一下paddle框架是否安装正确,试试3.0beta版本

现在直接 Illegal instruction (core dumped) 了 image

GreatV commented 1 month ago

是根据PaddlePaddle官网的安装教程安装的paddle吗

zengweigit commented 1 month ago

是根据PaddlePaddle官网的安装教程安装的paddle吗

照着这个装的 image

zengweigit commented 1 month ago

是根据PaddlePaddle官网的安装教程安装的paddle吗

我装2.6.2版本就能正常打印 image

GreatV commented 1 month ago

paddleocr用的是什么版本呀,试试main分支的代码

zengweigit commented 1 month ago

我自己重新创建了个conda环境,能正常运行了,用的还是paddle2.6.2,懵,,,

image