PLSDK-2956: add MobileNetV2 model (.bin files) and inference config files
authorJianzhong Xu <xuj@ti.com>
Mon, 16 Sep 2019 13:40:28 +0000 (09:40 -0400)
committerJianzhong Xu <xuj@ti.com>
Mon, 16 Sep 2019 13:40:28 +0000 (09:40 -0400)
examples/test/testvecs/config/infer/tidl_config_mobileNet2.txt [new file with mode: 0755]
examples/test/testvecs/config/infer/tidl_config_mobileNet2_lg2.txt [new file with mode: 0755]
examples/test/testvecs/config/tidl_models/tidl_net_mobilenet_2_224.bin [new file with mode: 0755]
examples/test/testvecs/config/tidl_models/tidl_param_mobilenet_2_224.bin [new file with mode: 0755]

diff --git a/examples/test/testvecs/config/infer/tidl_config_mobileNet2.txt b/examples/test/testvecs/config/infer/tidl_config_mobileNet2.txt
new file mode 100755 (executable)
index 0000000..cf8c6fc
--- /dev/null
@@ -0,0 +1,9 @@
+numFrames   = 1\r
+preProcType = 2\r
+inData   = ../test/testvecs/input/preproc_2_224x224.y\r
+outData   = "./stats_tool_out.bin"\r
+netBinFile      = "../test/testvecs/config/tidl_models/tidl_net_mobilenet_2_224.bin"\r
+paramsBinFile   = "../test/testvecs/config/tidl_models/tidl_param_mobilenet_2_224.bin"\r
+inWidth = 224\r
+inHeight = 224\r
+inNumChannels = 3\r
diff --git a/examples/test/testvecs/config/infer/tidl_config_mobileNet2_lg2.txt b/examples/test/testvecs/config/infer/tidl_config_mobileNet2_lg2.txt
new file mode 100755 (executable)
index 0000000..0c88b8f
--- /dev/null
@@ -0,0 +1,10 @@
+numFrames   = 1\r
+preProcType = 2\r
+inData   = ../test/testvecs/input/preproc_2_224x224.y\r
+outData   = "./stats_tool_out.bin"\r
+netBinFile      = "../test/testvecs/config/tidl_models/tidl_net_mobilenet_2_224.bin"\r
+paramsBinFile   = "../test/testvecs/config/tidl_models/tidl_param_mobilenet_2_224.bin"\r
+inWidth = 224\r
+inHeight = 224\r
+inNumChannels = 3\r
+layerIndex2LayerGroupId = { {63, 2}, {64, 2}, {65, 2} }\r
diff --git a/examples/test/testvecs/config/tidl_models/tidl_net_mobilenet_2_224.bin b/examples/test/testvecs/config/tidl_models/tidl_net_mobilenet_2_224.bin
new file mode 100755 (executable)
index 0000000..9aacebe
Binary files /dev/null and b/examples/test/testvecs/config/tidl_models/tidl_net_mobilenet_2_224.bin differ
diff --git a/examples/test/testvecs/config/tidl_models/tidl_param_mobilenet_2_224.bin b/examples/test/testvecs/config/tidl_models/tidl_param_mobilenet_2_224.bin
new file mode 100755 (executable)
index 0000000..8eab5ee
Binary files /dev/null and b/examples/test/testvecs/config/tidl_models/tidl_param_mobilenet_2_224.bin differ