mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-11 11:30:20 +08:00

* Refactor PaddleSeg with preprocessor && postprocessor * Fix bugs * Delete redundancy code * Modify by comments * Refactor according to comments * Add batch evaluation * Add single test script * Add ppliteseg single test script && fix eval(raise) error * fix bug * Fix evaluation segmentation.py batch predict * Fix segmentation evaluation bug * Fix evaluation segmentation bugs Co-authored-by: Jason <jiangjiajun@baidu.com>
添加模型单测
所有模型统一使用runtime_config.py
中的RuntimeOption进行配置
import runtime_config as rc
model = fd.vision.XXX(..., runtime_option=rc.test_option)
验证For循环跑2+次与Baseline结果符合预期