[Doc] Update examples to use the newest api (#731)

use the latest api
This commit is contained in:
Jason
2022-11-28 22:01:51 +08:00
committed by GitHub
parent 4351ce8665
commit 03e360d71d
27 changed files with 65 additions and 92 deletions

View File

@@ -78,7 +78,7 @@ model = fd.vision.detection.PPYOLOE(
# 预测图片检测结果
im = cv2.imread(args.image)
result = model.predict(im.copy())
result = model.predict(im)
print(result)
# 预测结果可视化