提交 0d9db3a6 编写于 作者: L linkecoding

fix the default value of predictor inputStd in android example

上级 dbe527ea
...@@ -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.
先完成此消息的编辑!
想要评论请 注册