PaddleX
PaddleX copied to clipboard
Update base.py
refactor with With statement to open file to make code more Pythonic
此为PR说明模版
如提交的为部署C++代码,请确认以下自测点是否完成(完成勾选即可),并保留以下的自测点列表,便于Reviewer知晓。
- [ ] Linux下测试通过
-
- [ ] batch = 1 预测
-
- [ ] batch > 1预测
-
- [ ] 多GPU卡预测
-
- [ ] TensorRT预测
-
- [ ] Triton预测
- [ ] Windows下测试通过
-
- [ ] batch = 1预测
-
- [ ] batch > 1预测
感谢提PR,目前PaddleX develop分支主要是在开发PaddleX 3.0版本以上的更新,该部分内容辛苦提到release/2.1.1分支吧~