Skip to content

Commit

Permalink
预测
Browse files Browse the repository at this point in the history
  • Loading branch information
WeberKang authored Dec 22, 2020
1 parent 63df256 commit fd086f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

image = cv2.imread(imagePath)
output = image.copy()
image = cv2.resize(image, (224, 224))
image = cv2.resize(image, (224, 224))#根据所选网络对其修改

# scale图像数据
image = image.astype("float32") / 255.0
Expand Down

0 comments on commit fd086f0

Please sign in to comment.