-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
I have installed paddleOCR and paddlex as follows:
python3 -m pip install paddlepaddle-gpu==3.2.2 -i https://www.paddlepaddle.org.cn/packages/stable/cu129/
git clone https://github.com/PaddlePaddle/PaddleX.git
cd PaddleX
pip install -e ".[base]"
paddlex --install
paddlex --install PaddleClas
However, I am facing a problem with the training script (main.py), which cannot find "PP-LCNet_x1_0_textline_ori". It errors out as it is not a registered model name: paddlex.utils.errors.others.UnsupportedParamError: 'PP-LCNet_x1_0_textline_ori' is not a registered model name..
When I run:
import paddlex
model = paddlex.create_model("PP-LCNet_x1_0_textline_ori")
It works just fine. But when I call main.py with the following config:
Global:
model: PP-LCNet_x1_0_textline_ori
mode: train
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels