[res] Shrinked TF Inception_v3_000 test (#6792)
author박천교/On-Device Lab(SR)/Engineer/삼성전자 <ch.bahk@samsung.com>
Thu, 22 Aug 2019 01:19:39 +0000 (10:19 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Thu, 22 Aug 2019 01:19:39 +0000 (10:19 +0900)
This commit make TF Inception_v3_000 test to have slim dimensions so
that suitable to be tested.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
res/TensorFlowTests/Inception_v3_000/test.info
res/TensorFlowTests/Inception_v3_000/test.pbtxt

index 5355497..6c5eafd 100644 (file)
@@ -1,24 +1,3 @@
-# This is a first 4 nodes in inception v3 (from Placeholder to the first RelU)
-#
-# How to get output shape:
-#
-# import tensorflow as tf
-# import numpy as np
-# from tensorflow.python.platform import gfile
-# tf.reset_default_graph()
-#
-# filename = 'inception_v3.2019_June_milestone.pb'
-# input_node = "input:0"
-# out_node = "InceptionV3/InceptionV3/Conv2d_1a_3x3/Relu:0"
-# input_shape = (1, 299, 299, 3)
-#
-# with tf.gfile.GFile(filename, 'rb') as f:
-#    graph_def.ParseFromString(f.read())
-#    tf.import_graph_def(graph_def, name='')
-#
-# with tf.Session() as sess:
-#    out = sess.run(out_node, {input_node: np.ones(input_shape)})
-#    print(out.shape)
-#
-input,  input:0,  TF_FLOAT,  [1, 299, 299, 3]
-output, InceptionV3/InceptionV3/Conv2d_1a_3x3/Relu:0,  TF_FLOAT,  [1, 149, 149, 32]
+# This is a slim version of first 4 nodes in inception v3 (from Placeholder to the first RelU)
+input,  input:0,  TF_FLOAT,  [1, 5, 5, 3]
+output, InceptionV3/InceptionV3/Conv2d_1a_3x3/Relu:0,  TF_FLOAT,  [1, 2, 2, 4]
index 0150fb4..9b3316d 100644 (file)
@@ -23,10 +23,10 @@ node {
             size: 3
           }
           dim {
-            size: 32
+            size: 4
           }
         }
-        tensor_content: "M\017K\277\031}\343\275\211\000\261\273\232\n\315\275I\0276\275\213>Y=i\250\272?\340\340m?|$P>[Y\036>\235`\341=\253{=>\203\'\r>3k\323>\366\235*\276\246\204A=\372\261}\276\312)\256\276\322\222\202\277V\211\264\277\237\230\247\277hD\212?\324\016\017<\211\324\215\275H\305\214\276\200\2723>\010g\224>;{\215>\007\301\376<\014\026\374=\027\320\036\276C\350\244@\365\351\013?\353^]\274\035\"A\274\210\241\233=\314\354\202\276\373$l=\237\201H\277\324\350v?$S\324=\0308U\276\333\321\214\276\341\373\235\275\202\013\202\276n&\017?z\226_\276K\347\036\276\324\306\003=~\343\006>\352:G\277*\211\262\277\ny\334\2775X\206?\0235\321<\347HY\274\211s\242\276A\371\352\2742\221\351=\034\324\212>WS+<\335\000\t>\2021\220>\203dy\277\nk\304>\\3\364\273\267~\216\276\3432\320\274\347\232\240>1\310\350<]\326N\277U\364\312>\374\001\214\276\217h\210=\250\260\223=\232\250\037\276f\375B=\033\037\333>\267s\323>\333\035\r=\243 \177\276\311}\201>F4 \2776\246\301\276o;^\277\351\314w?\244L+\276\314\362U>+\304\246\275\254\212s\276\265\023\343=\360\267\260\2758\004J\276\334\304\372\275\016\347\336=(Uh\300\002\"\246\277;=\276=\352\245\016\276H\364\315\276\277&\257\276\326]\036>i\225n\300eV\321?5\003H\276\215\306\316<\376\225\376>\332yZ\275\276\231\307>~\225\241?7\266\310\276L\021:\277\322\344\241<\021e\314\276\346\244\262\277 \226\301\276\327o\270>NH&\277\004\234\376=\367\243\240\275\2671)\277\256\221\256>A3\004=o\0174>k\210\336<M\355\035>X\233K\275Q\255\203?\240M\035?\n\264\254\275c=f>\225\266\005\276b`\221\275\367\302\234>x>7@\030\273\305?P\310\223>\230\355\353\276E\222\306\276\350\3455>\236\234\314\276\026\224\241?\\\002\342\276\271v\233\276N\203\336>\247\336\322<\323B\227\277\2249\213\276<\327\216>0\365\233\276E\344\373=\244\371a\274}+;\277\204\020\341<M*\253\275=\203,>\266\2361<<\263\255<\177\021\271>\333\212\r\277\002\035b?\030\324[>\204\0212>\200\336\300\275\317\330\020?\200\363\206>\000\263n?\207\220\027?\304\361\010\276;\304\304>i\tS=\320\030F\276!3\030>\001]\003?\017Y>?K\353\004\277a?\256\274\363\326\207>o\026l\277 \324L\274F*|>\353\341\324\275\027\3010>`\347\326=\275\024\236\2769\311\251\276\"\263\323\275\024\030\005\277\353\341\025\276E\021L\276\272:K?\'_\035\277\003\007\005\276J\277a\275&\031!>\347\222\203<\2138\274\275\353\000\317\275\005!\217\300}\3247?\200\356\312>\341\210\">k\376[>^D\307\275\257\356A>8v\\\277\007\025b\276\206PH>7:9\276P[\255\276\315\251L\277F,\237\2753`0?\032pX\277\247\"2>\\\357\352\275G\371\035\277\242a\214>\227\244\362=-(\334=tQ\222\274\276Oa>/\267\271\275o_\357\277\303\273G>\252\275#\275H\030\364=\274\331\034>\357k\026\276\203\227\301=[\335I@\311\227\006?\033#\232\276\223%}\276\\\177\251\276\226%\226>)\375O\276)\340\217\277\365\362\251\275\301\333\266\275$\2200<\331_\365\273\r\016\371\276\312\231\003\274\232\323\213?\340\3238\277@1\027>\320O:\274\272\0271\277,\374\225\275\375\351\332\2752\373K>\316\235x=\026C\377=^\366y>\313\021y\275n\222\000\276\347m\277=\010.\241\276\261\244\375=R&h>\262\310\002>\225\030\272?\251\374\334=\021\240\343\275\0242\304=@m\270\275]\202\n\276\343\036K\274\345\302\025\277?\001\205>\004\033\250>\215%\213\2769\365`>\300\276\366\276\360\336X\275O\341-?\356,[\277\263\207\">Z\311\323<\022l\277\276#\216C\276CL\237\276\250\030\223:\336K\026\276\320\353\226\2753\222\220>\007\020\331?\311\"\t\2772\311{=\031\245\260\276}\374d\276\325\272\240\276\377\"R=\236\233\307?LB\364\276x\257\252\2774,}=\270P\227\277\031e\261\276\346\250\257>\257\310.<vS2\276\314r\274=\320-\254\276/!\271\276.\346\366>\332\316\023@0\204{\277Z\232[?\326g\337=\200KH\276\000\r\214\276\210\355\251>D9\345>\201`x>\027\177\023>\342\226\014\275\360*t\275\033\016$@k\221\243>\006\032\002=\237GN>\3632\306=g\263k\276\037\017\022>\027\346L\277\\j\337\276\016\326\277?\227\271\336\276\325\211\241\275\0325\263>\036Z\365\276\261I\366=E\n\253\276\032\375\t\276}\241{=;\003\266=Z\376\345>\212\022#@\r\273\246\277\036%\'?q\207\337<\355e)\276\034\031\226\276a6\033=\213%\230>\2111\271>\365\355\262=tA\317\273\247\240+>/\324\373\276D\232\215>u\327\r>\233h<>&p\177=\200\223\363>zX^=\336U4\277\213\365\037\276K\362\246\276@\207\325>>\272\334\275\003\252\306=R\232\355=\226\024\005>\0047\014?Y\031\221=\270\010\350\276s\001\231>;w\335>\375Ft?;\264\003\277p)\023?g\026<\275W\211\023\276\033.k\276\323\356\226\276\362\023 ?^\225y\276\262\366\003\275,\037\\\276\377\266\261\276\274\266\334\277\217Ns\277M\251\304>\244\337d\277\225\223\363\276\217T(\277\231D@\276F\3356\277\230\327\321\277\233N\243\277X\272L\276\240\306\226\276.\340q\2771\017\'?\252\311\025@\006O\323\2764\"\037\277Bi\177\276\002\220\362\276Y\251\276?\231\315\r=\346\020n?\2058\220\277s\253<>\203\243Y=\330\234\350\276m\010\016?Cb\035>q\343\001?3\245\315\275\3372\320\276\346]N\275,*\220\276\253\254\250>Le\354=\320Y>?\274\261e\273\016\276\313;\265/\232=\354\373q?^\233\324\277lA\252?$\256&\277\304:Z\275h\323=?\241\2775\277\355\002\n@.\025\017\277+q\305\276.z&>)\005\016<\355\354\253?\243\020e=uG\217?\005\024/\277\315H\227=\021\232\334=7\355\366\276g\266\337=\372\256D=\224\365\377>2B\372\275\037\321\350\276\372\314}>E\305\255\275?]#?,\252\006?j&\212?\201e\026>\370\002`?\006\225\303=7\334\037\276EL\031\277\256\257x\276\336Qk?\267\367\017>&\244`>J\210\002>i\036Y?Svi?Q\252\357\276X\346\347\276y/\274>\037\361\253?\356\000\345<*b\000?\244\270\205\276\252\231\210>{y\007=\342k\231\276\310\364\006\277\373\214l>\213;\"\277p\375\322\275\334\237\375\276\002\005\'=#e<=\032n\330\275 \2237=\222\342\306\276<\031N\275D\315\235\276\324:\026\277\275\255\252\277\343\226\265\273\232\005\232>\365\347\005\276\'\321\247=>\250:\277\350K\250>\204\344\032\277e`&\276\206z\202>\253\022\346\276\025\357\275\276\037\323\340>\204v\200\276\3274o?\022\303l\277\302\236B>\352\337\270\274\343\350\021\277.\275\256>\212\325\033>\334\236\333>r/!> d?\275_\230C\276\267\035\017\300\237\260\222=\205\350\346<ST\307>Bxm>\241\307\335\275\316\356\234\276\220:m?)\210\341\274U\023g\276D\340\307\276\375\003\230\276z\362\030?\370\376\361\276Y\322V\2770\374/\276qw\224\275u\177\032\276\337\371\036=\rP\332>Ht\263\276\314\320\232?\240\2073\277\t\302~=\346Y\365=\177\276\"\277\177\362\220\275$\262\000\275\347\251\374>\336$O>\225\223\373\275\333\316\317=\326I\253>8\0278\275\332\253\212>S\245\364>#/Y>\014\263\323>\223f\345\275\035\305n>\213\240z=\3513W\276\037\316\010?\023r}\27581\022>\217![\273|t\336\276\255\002\255>\205:d>\3214\t\277\252\006\275>\241c->\3012x\2768{\001?}\324\027\277\254h7>\322+`=}:\017\277\032\331\312\276\202\352n\276_\273\023\276\242q\277\275\030\324\222\276[0c\276~\332\316?\302\025\216>\267w\236\275\276\310\376=\345\323V\276\353\311\212=\t\014\323=\303\324\315?\307Ea>-\\>\276@xa>\202\226r\276?\"w\276\3749\201>\037\302,\277l\244 =}\2322>\3027E>u\262\224\276\203\017\323\274\035\002\325?\302\373\270\275\267j\375>\265_\310=\311\263O\277\244\027\351>2P\201>\014\006\202>n\371\000\276\234<\202\274\222\234\262=I\007\320\275\324c\036\277\023\335\337=\213@;\274\030\260\004<}\r\201\275V\260\240\276\272\016\213>@#\200\277\007+\r>\205/\333>\016>\237\276\214\316\342<\361\023[>a\032\204\276\266\277;\277oO\345\275\'\304\207\276\003\277\352>c\030\230=\023\205I\275{\001\324?\200\343i<\226\343\223\275<\275\324\274I\243\007\277\006\022\026?\244\017\255\275\305\020\313\275m\003\025=\317\376e\275\307\270h>:\364q>\177;\235\276B\312\311\276\307\271\305=j{\177\276\354,\210\274%aw>C\320\036>\321u\'\277\033\254\326\275\026\240\213\276\rL\270=\224>\001>\300\013\225\274\360T/=\326\211\217\276y\210W=\013\373>>\354\265\023\276L[g>z\345\250\2758l\344>\244\312\206<\000\327\216=4S\200\275\014\007\r\277\247\006\002><\367w\276\001\027\356:Wc\264\273\177\250\030\276\345\234\370\275a\376\356\276\312A\000?\023\211\215=\312\306\025\275`$\374\276oZ\375\276\270\303\232\276F\211?>\263\007\313?\201\207\267\277\367\377\233\276C\257\t\275\365g\313=\344\224%\277\314\223\317>\214\375S\2773\003\313\275\363\307\230>$N\307>\235\r\274\276\3242&?\321\032\260\277\033-\323\276B\017\024?\r\346\316=V\327\205\275\250\302\221?>H\316>\210\275\003>\327\233[\275\207/\021\277\273U\t\276{8\013>I\334l\277\025\201c=i\340*\275\267B\336=\303\364/\276\214\236\201\276\324#\331>\"\224\222\277C\235\223\277-Y\257>\3511\374\276%!Q\275MB\003?\305\204\361\276\n;P\277\311\242_\276\236\010?\276|\235\t?\0277\265=\005|P>1\t\234\277\204\360\311\276\320\343\302>M-\026\275\027\300\010>\217\311\267?K2\"\275a\363\241\275\24291\275\234i\005\277Y\240\254\275\010\237\r?0\346\014\275\364\362\277\275^B\177>\210\221\224>\362\263f=\267\256\251>%:\214>\034\364\315\276\270\313\254\276\262\357\203\276S\301\354>\363\3260>\254\317\233=\215R6=V\266\310\276$8\216>\301\2675>}\031\205\276\203\307\246>\002E\372>\251\n\r\277v\031\256\276\271\356i>\322V\021\273?\360\243=f\236e?AD\340\276Js\336\2752\214\247\276\355\305\213\2766\276X\276\302 \177\276\245W\\?\250\002\023>\275\022c\276`\312\357\275}^\256\276Xa\331=\241\302\225\274\010\243\322?\312<\326\275H\245,?\'\223T=\326\004`>\270>\255\276)}\224>8*?\277\336\306\031\274r\033\336=_\375J>;\006\235\276\\ \350>\256\030\001\277D`\t\275s\276\251>\"\220\344=\267\220\037\276\177\376\177?\240|\273>v\216S>\246\272/\274\375]\r\275I\325\252=\242T\201\275-\340A\277\212\224H>\230kF\274b\\\372=\252\355\363\275\n\221S\276\031\230\n>eu\231\277F5\177\275FL\354\276Z`X\276l\237H\276\233o\300>U\314a\276\264\372\330\276\341\2221=\221\242\357\275\3528\233>\335\323\334=Z\016\223>\336\264$\277\326\022\203\276\n\237&\275i\256{\274\001\327\022>\220\244\232?.\'\260\274\302dH\275a\003\247\275\336\245\227=3\320\033>tt\235>\302d\261\276\272=\254\276\314\2717>\n\354\353=v\'`=\205e\377=C\277\275=zh\005\277\325:\301\275\'\366\316\276\020\274(>\255\007\020<Q\211\203<\311\276\017\275|#\232\275FVy\275n\252\267=yV8\276\204\200\252>\255\000\344\275\025E\306\276\213\317P\276\242\204\203\276\273a}\275\234,\004=\214\227(?!q\216\276)V[\276\"\343\037\276\374\272\357\275\350\356\277\275\243\024_\276\330\211_?"
+        float_val: 1.0
       }
     }
   }
@@ -48,10 +48,10 @@ node {
           size: 1
         }
         dim {
-          size: 299
+          size: 5
         }
         dim {
-          size: 299
+          size: 5
         }
         dim {
           size: 3
@@ -128,10 +128,10 @@ node {
         dtype: DT_FLOAT
         tensor_shape {
           dim {
-            size: 32
+            size: 4
           }
         }
-        tensor_content: "\220\247\023?\347%\215\277D\006\305?\241>\201@\267\tV?\205\270\177@\002w\016\276\001\303\213?\224\316\227\277r\035,\276\337\233i\277]\315\250=\330\224\272>\217Q\367?[1\377\276Y\344\267\277\014G|@P3\330>\345\277t\277W\022\356?\030\n\214?\363x\207\275\266\324\022\277%C\253\277\216\217[\277\0212\304>\'\271\253\277\222\236\321?i\226\201\277\330d\303\277K\326\243\277{\255V\277"
+        float_val: 1.0
       }
     }
   }