Skip to content
Discussion options

You must be logged in to vote

Hello, it’s correct that there’s no output for pdmodel. By default, Paddle 3.0 exports models in the JSON format, and JSON models do not include a pdmodel, but they can still be loaded and used normally. If you want to export in the pdmodel format, you can try using the following command:
export FLAGS_enable_pir_api=0
python tools/export_model.py -c "C:\Users\Andrew\anaconda3\envs\train\Lib\site-packages\PaddleOCR\output\rec_ppocr_v4\config.yml" -o Global.pretrained_model="C:\Users\Andrew\anaconda3\envs\train\Lib\site-packages\PaddleOCR\output\rec_ppocr_v4\latest.pdparams" Global.export_with_pir=False

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@KhankhaevAndrey
Comment options

@liuhongen1234567
Comment options

@liuhongen1234567
Comment options

@liuhongen1234567
Comment options

Answer selected by KhankhaevAndrey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants