rapid_table v3.0.0发布了
更新日志
rapid_table
v3.0.0 主要更新是支持 batch 推理,模型并没有升级哈!
因为版本号是根据语义化版本号来走的,这次更改了接口的返回值。因此从 v2.0.3 升级到了 v3.0.0。
返回值具体变化如下:
# v2.0.3
class RapidTableOutput:img: Optional[np.ndarray] = Nonepred_html: Optional[str] = Nonecell_bboxes: Optional[np.ndarray] = Nonelogic_points: Optional[np.ndarray] = Noneelapse: Optional[float] = None# v3.0.0
class RapidTableOutput:imgs: List[np.ndarray] = field(default_factory=list)pred_htmls: List[str] = field(default_factory=list)cell_bboxes: List[np.ndarray] = field(default_factory=list)logic_points: List[np.ndarray] = field(default_factory=list)elapse: float = 0.0
重构代码。自己逐渐发现修改代码的水平会随着想法逐渐改变的。这也像改 PPT,永远没有尽头。哈哈!
我深知自己写的代码远没有达到优雅,但是我在努力中,希望大家在这个旅途中,能够收获快乐,玩得开心!
🚀 Features
- support batch inference both model and refacter code by @SWHL in a4fd085
- finished unitable refacter by @SWHL in 4fbba21
- add batch processing for images by @deeperrrr in 6a57308
🐛 Bug Fixes
- fixed issue #126 by @SWHL in 7d18543
- fix path error when inputing a url by @SWHL in 02e0a0e
📚 Documentation
- update README by @SWHL in 03cbe1e
- update README by @SWHL in a0d56d5
🧪 Testing
- adapted batch infer by @SWHL in 9f02fcd
⚙️ Miscellaneous Tasks
- update files by @SWHL in 6bb3e10
- update files by @SWHL in 732c29e
🎉 Contributors
- @SWHL
- @rming
- @deeperrrr
Full Changelog: 3.0.0