From 94eae60f17b07f5baea6e515c5fb7d2c7d1acefa Mon Sep 17 00:00:00 2001 From: Henk Boelman Date: Sat, 6 Jul 2019 23:31:52 +0200 Subject: [PATCH] Input size changed Input size changed to 224 --- ImageUtil.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ImageUtil.cs b/ImageUtil.cs index 6e42361..e81ddee 100644 --- a/ImageUtil.cs +++ b/ImageUtil.cs @@ -35,8 +35,8 @@ public static TFTensor CreateTensorFromImageFile (string file, TFDataType destin // Java: https://github.com/Azure-Samples/cognitive-services-android-customvision-sample/blob/master/app/src/main/java/demo/tensorflow/org/customvision_sample/MSCognitiveServicesClassifier.java private static TFGraph ConstructGraphToNormalizeImage (out TFOutput input, out TFOutput output, TFDataType destinationDataType = TFDataType.Float) { - const int W = 227; - const int H = 227; + const int W = 224; + const int H = 224; const float Scale = 1; // Depending on your CustomVision.ai Domain - set appropriate Mean Values (RGB)