未验证 提交 cd8a61b7 编写于 作者: D Double_V 提交者: GitHub

Merge pull request #5175 from linkecoding/bugfix/linke_fix_default_value_error

fix the default value of predictor inputStd in android example
...@@ -34,7 +34,7 @@ public class Predictor { ...@@ -34,7 +34,7 @@ public class Predictor {
protected String inputColorFormat = "BGR"; protected String inputColorFormat = "BGR";
protected long[] inputShape = new long[]{1, 3, 960}; protected long[] inputShape = new long[]{1, 3, 960};
protected float[] inputMean = new float[]{0.485f, 0.456f, 0.406f}; protected float[] inputMean = new float[]{0.485f, 0.456f, 0.406f};
protected float[] inputStd = new float[]{1.0f / 0.229f, 1.0f / 0.224f, 1.0f / 0.225f}; protected float[] inputStd = new float[]{0.229f, 0.224f, 0.225f};
protected float scoreThreshold = 0.1f; protected float scoreThreshold = 0.1f;
protected Bitmap inputImage = null; protected Bitmap inputImage = null;
protected Bitmap outputImage = null; protected Bitmap outputImage = null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册