Update im.copy() to im in examples

This commit is contained in:
felixhjh
2022-12-11 14:10:16 +00:00
parent f91a6126ee
commit 2f6f6977d7
30 changed files with 31 additions and 31 deletions

View File

@@ -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)