Replies: 1 comment 6 replies
-
The error you're encountering, Here’s how you can fix the issue:
Additional Notes:
By following these steps, you should be able to resolve the Response generated by 🤖 feifei-bot | deepseek-chat |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I copied the below code from the paddleOCR website but don't working by saying no module named paddle.
!git clone https://github.com/PaddlePaddle/PaddleOCR.git
%cd PaddleOCR/
Download the pre-trained model of en_PP-OCRv3
!wget -P ./pretrain_models/ https://paddleocr.bj.bcebos.com/PP-OCRv3/english/en_PP-OCRv3_rec_train.tar
Decompress model parameters
%cd pretrain_models
!tar -xf en_PP-OCRv3_rec_train.tar && rm -rf en_PP-OCRv3_rec_train.tar
%cd /content/PaddleOCR
#specify the single card training(Long training time, not recommended)
!python3 tools/train.py -c configs/rec/PP-OCRv3/en_PP-OCRv3_rec.yml -o Global.pretrained_model=en_PP-OCRv3_rec_train/best_accuracy
##################
Error
##################
Traceback (most recent call last):
File "/content/PaddleOCR/tools/train.py", line 31, in
from ppocr.data import build_dataloader, set_signal_handlers
File "/content/PaddleOCR/ppocr/data/init.py", line 24, in
import paddle
ModuleNotFoundError: No module named 'paddle'
Beta Was this translation helpful? Give feedback.
All reactions