13 months agoMerge pull request #4 in PROCESSOR-SDK/tensorflow-lite-examples from ~A0271529/tensor... master
Merge pull request #4 in PROCESSOR-SDK/tensorflow-lite-examples from ~A0271529/tensorflow-lite-examples:demo-integration to master
* commit '48b79a09b76f05b3417e6f67b65c84e4a465b054':
Add demo scripts and their usage on target in README
* commit '48b79a09b76f05b3417e6f67b65c84e4a465b054':
Add demo scripts and their usage on target in README
Add demo scripts and their usage on target in README
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Merge pull request #3 in PROCESSOR-SDK/tensorflow-lite-examples from ~A0271529/tensorflow-lite-examples:demo-integration to master
* commit '618ce187290baf09d261333d03dfaf143b6b61ae':
Makefile: define path for the dependent header files and libs
Move profiling to the invoke call
* commit '618ce187290baf09d261333d03dfaf143b6b61ae':
Makefile: define path for the dependent header files and libs
Move profiling to the invoke call
Makefile: define path for the dependent header files and libs
* Set environment variables and then run "make" to build the demos
1. Arm only:
- export SYSROOT_INCDIR (if all dependent header files are under the same directoy), or
export FLATBUFFERS_INC_DIR, TFLITE_INC_DIR, and OPENCV_INC_DIR
- export SYSROOT_LIBDIR (if all dependent libs are under the same directoy), or
export TFLITE_LIB_DIR and OPENCV_LIB_DIR
- export TARGET_TOOLCHAIN_PREFIX=arm-linux-gnueabihf-
- export PATH=/[path]/gcc-arm-2019.03/bin:$PATH
2. Add the following for TIDL offload to AM5
- export TIDL_ACC=yes
- export TIDL_API_DIR
- export TIDL_API_LIB_DIR (if tidl-api lib is not under SYSROOT_LIBDIR)
Signed-off-by: Hongmei Gou <a0271529@ti.com>
* Set environment variables and then run "make" to build the demos
1. Arm only:
- export SYSROOT_INCDIR (if all dependent header files are under the same directoy), or
export FLATBUFFERS_INC_DIR, TFLITE_INC_DIR, and OPENCV_INC_DIR
- export SYSROOT_LIBDIR (if all dependent libs are under the same directoy), or
export TFLITE_LIB_DIR and OPENCV_LIB_DIR
- export TARGET_TOOLCHAIN_PREFIX=arm-linux-gnueabihf-
- export PATH=/[path]/gcc-arm-2019.03/bin:$PATH
2. Add the following for TIDL offload to AM5
- export TIDL_ACC=yes
- export TIDL_API_DIR
- export TIDL_API_LIB_DIR (if tidl-api lib is not under SYSROOT_LIBDIR)
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Move profiling to the invoke call
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Add Software Manifest HTML file
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Merge pull request #2 in PROCESSOR-SDK/tensorflow-lite-examples from ~A0271529/tensorflow-lite-examples:tidl-offload to master
* commit '9df4c262b266eb586f75811325922fbeec6d63a1':
Add Apache license headers to the source files
Add TFLite custom operator for handling tidl subgraph
* commit '9df4c262b266eb586f75811325922fbeec6d63a1':
Add Apache license headers to the source files
Add TFLite custom operator for handling tidl subgraph
Add Apache license headers to the source files
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Add TFLite custom operator for handling tidl subgraph
* Currently supporting only a single tidl subgraph,
with single input tensor and single output tensor
Signed-off-by: Hongmei Gou <a0271529@ti.com>
* Currently supporting only a single tidl subgraph,
with single input tensor and single output tensor
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Merge pull request #1 in PROCESSOR-SDK/tensorflow-lite-examples from PLSDK-3208-classification-demo to master
* commit '641b85af0cbdb7b303cb572f11caa95e6d276f3c':
Add segmentation demo
Add classification demo with input and display via opencv
* commit '641b85af0cbdb7b303cb572f11caa95e6d276f3c':
Add segmentation demo
Add classification demo with input and display via opencv
Add segmentation demo
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Add classification demo with input and display via opencv
* classification.cc: file with main function
* model_utils.*: tensorflow runtime utilities
* utils.*: opencv and misc utilities
Signed-off-by: Hongmei Gou <a0271529@ti.com>
* classification.cc: file with main function
* model_utils.*: tensorflow runtime utilities
* utils.*: opencv and misc utilities
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Initial Commit