mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
[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:
@@ -46,5 +46,5 @@ model = fd.vision.classification.ResNet(
|
||||
args.model, runtime_option=runtime_option)
|
||||
# 预测图片分类结果
|
||||
im = cv2.imread(args.image)
|
||||
result = model.predict(im.copy(), args.topk)
|
||||
result = model.predict(im, args.topk)
|
||||
print(result)
|
||||
|
Reference in New Issue
Block a user