#433433rd of 433 in ML frameworks and librariesFor data and documents, documents and ocr
pytorchocr
PyTorch ports of PaddleOCR detection, recognition and classification models
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts pytorchocr on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.pytorchocr is on your watch list. Its new releases and problems show there.
- Stars
- 1.5k
- License
- no license
- Last commit
- Jan 2026
- Language
- Python
1,508 on 6 May 20261,526 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
PytorchOCR converts PaddleOCR models (PP-OCRv3, PP-OCRv4 and several recognition architectures) to PyTorch and checks each port against the Paddle output, reporting numeric alignment error per model. It includes training, evaluation, ONNX export and det/cls/rec inference scripts. Some models are still unverified or listed as not aligned.
Who it is for: Engineers running PaddleOCR models in PyTorch or ONNX without Paddle
Strengths
- Per-model alignment table with numeric error against Paddle, often below 1e-6
- Covers PP-OCRv3 and v4 det, rec and cls, plus CTC, attention and SAR recognizers
- Exports to ONNX with pre- and post-processing parameters, and includes ONNX inference
- Single and multi-GPU training via torchrun, plus eval and inference scripts
Weaknesses
- Several models not aligned: PP-OCRv2, rec_mtb_nrtr, and r34_vd TPS variants
- TensorRT inference is unchecked on the TODO list
- No license stated in the repository
- README is Chinese only, and weights are hosted on Baidu Cloud
What it needs
- GPU optional
- Needs PyTorch 2.0.1, PaddlePaddle 2.5.1 (weight conversion), ONNX
- Models: PP-OCRv4, PP-OCRv3, ONNX, PyTorch .pth
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #428 | xaiPython library for data imbalance and model bias analysis in tabular ML | 8 out of 100 |
| #429 | torchviewGraphviz visualizations of PyTorch model graphs with tensor shapes | 8 out of 100 |
| #430 | sklearn-crfsuitescikit-learn-style Python wrapper for CRFsuite sequence labeling | 7 out of 100 |
| #431 | drl-robot-navigationTD3 reinforcement learning for robot goal navigation in ROS Gazebo | 6 out of 100 |
| #432 | adbenchBenchmark suite for tabular anomaly detection algorithms and datasets | 5 out of 100 |