更新日志
rapid_table
v3.0.0 主要更新是支持 batch 推理,模型并没有升级哈!
因为版本号是根据语义化版本号来走的,这次更改了接口的返回值。因此从 v2.0.3 升级到了 v3.0.0。
返回值具体变化如下:
# v2.0.3
class RapidTableOutput:
img: Optional[np.ndarray] = None
pred_html: Optional[str] = None
cell_bboxes: Optional[np.ndarray] = None
logic_points: Optional[np.ndarray] = None
elapse: 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
📚 Documentation
🧪 Testing
⚙️ Miscellaneous Tasks
🎉 Contributors
Full Changelog: 3.0.0