更新日志
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