[Other]Update im.copy() to im in examples (#854)

* Update keypointdetection result docs

* Update im.copy() to im in examples
This commit is contained in:
huangjianhui
2022-12-12 09:47:54 +08:00
committed by GitHub
parent 99165f2149
commit 19008a2397
30 changed files with 31 additions and 31 deletions

View File

@@ -47,5 +47,5 @@ model = fd.vision.classification.YOLOv5Cls(
# 预测图片分类结果
im = cv2.imread(args.image)
result = model.predict(im.copy(), args.topk)
result = model.predict(im, args.topk)
print(result)