tensorflow-lite: add header files and change the install location of the example files
PATCH 1/3 tensorflow-lite: add header files and change the install location of the example files
* The newly added header files are required to build tensorflow lite demos outside of the tensorflow lite release package
* Relocate the example files to ${datadir}/${BPN}
--- .../tensorflow-lite/tensorflow-lite_1.15.bb | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-)
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb +18 -15
@@ -41,7 +41,7 @@ SRC_URI[mobilenet_v1_quant.sha256sum] = "d32432d28673a936b2d6281ab0600c71cf7226d SRCREV = "590d6eef7e91a6a7392c8ffffb7b58f2e0c8bc6b" -PR = "r3" +PR = "r4" S = "${WORKDIR}/git"
@@ -105,6 +105,8 @@ do_install() { install -m 0644 ${S}/tensorflow/lite/*.h ${D}${includedir}/tensorflow/lite/ install -d ${D}${includedir}/tensorflow/lite/c install -m 0644 ${S}/tensorflow/lite/c/*.h ${D}${includedir}/tensorflow/lite/c/ + install -d ${D}${includedir}/tensorflow/lite/core/ + install -m 0644 ${S}/tensorflow/lite/core/*.h ${D}${includedir}/tensorflow/lite/core/ install -d ${D}${includedir}/tensorflow/lite/core/api/ install -m 0644 ${S}/tensorflow/lite/core/api/*.h ${D}${includedir}/tensorflow/lite/core/api/ install -d ${D}${includedir}/tensorflow/lite/kernels
@@ -116,27 +118,28 @@ do_install() { install -m 0644 ${S}/tensorflow/lite/schema/schema.fbs ${D}${includedir}/tensorflow/lite/schema/ install -d ${D}${includedir}/tensorflow/lite/tools/ install -m 0644 ${S}/tensorflow/lite/tools/*.h ${D}${includedir}/tensorflow/lite/tools/ + install -d ${D}${includedir}/tensorflow/lite/delegates/nnapi/ + install -m 0644 ${S}/tensorflow/lite/delegates/nnapi/*.h ${D}${includedir}/tensorflow/lite/delegates/nnapi/ + install -d ${D}${includedir}/tensorflow/lite/experimental/resource_variable/ + install -m 0644 ${S}/tensorflow/lite/experimental/resource_variable/*.h ${D}${includedir}/tensorflow/lite/experimental/resource_variable/ + install -d ${D}${includedir}/tensorflow/lite/kernels/internal/ + install -m 0644 ${S}/tensorflow/lite/kernels/internal/*.h ${D}${includedir}/tensorflow/lite/kernels/internal/ + install -d ${D}${libdir}/pkgconfig install -m 0644 ${WORKDIR}/tensorflow-lite.pc.in ${D}${libdir}/pkgconfig/tensorflow-lite.pc sed -i 's:@version@:${PV}:g s:@libdir@:${libdir}:g s:@includedir@:${includedir}:g' ${D}${libdir}/pkgconfig/tensorflow-lite.pc # install examples - install -d ${D}${datadir}/${PN}-${PV}/examples - install -m 0755 ${S}/tensorflow/lite/tools/make/gen/${TARGET_OS}_${TUNE_ARCH}/bin/minimal ${D}${datadir}/${PN}-${PV}/examples - install -m 0755 ${S}/tensorflow/lite/tools/make/gen/${TARGET_OS}_${TUNE_ARCH}/bin/benchmark_model ${D}${datadir}/${PN}-${PV}/examples - install -m 0755 ${S}/tensorflow/lite/tools/make/gen/${TARGET_OS}_${TUNE_ARCH}/bin/label_image ${D}${datadir}/${PN}-${PV}/examples - install -m 0644 ${S}/tensorflow/lite/examples/label_image/testdata/grace_hopper.bmp ${D}${datadir}/${PN}-${PV}/examples - install -m 0644 ${S}/tensorflow/lite/java/ovic/src/testdata/labels.txt ${D}${datadir}/${PN}-${PV}/examples - install -m 0644 ${WORKDIR}/model/mobilenet_v1_1.0_224_quant.tflite ${D}${datadir}/${PN}-${PV}/examples + install -d ${D}${datadir}/${BPN}/examples + install -m 0755 ${S}/tensorflow/lite/tools/make/gen/${TARGET_OS}_${TUNE_ARCH}/bin/minimal ${D}${datadir}/${BPN}/examples + install -m 0755 ${S}/tensorflow/lite/tools/make/gen/${TARGET_OS}_${TUNE_ARCH}/bin/benchmark_model ${D}${datadir}/${BPN}/examples + install -m 0755 ${S}/tensorflow/lite/tools/make/gen/${TARGET_OS}_${TUNE_ARCH}/bin/label_image ${D}${datadir}/${BPN}/examples + install -m 0644 ${S}/tensorflow/lite/examples/label_image/testdata/grace_hopper.bmp ${D}${datadir}/${BPN}/examples + install -m 0644 ${S}/tensorflow/lite/java/ovic/src/testdata/labels.txt ${D}${datadir}/${BPN}/examples + install -m 0644 ${WORKDIR}/model/mobilenet_v1_1.0_224_quant.tflite ${D}${datadir}/${BPN}/examples # install scripts for benchmarking - install -m 0755 ${WORKDIR}/tflite-benchmark.sh ${D}${datadir}/${PN}-${PV}/examples + install -m 0755 ${WORKDIR}/tflite-benchmark.sh ${D}${datadir}/${BPN}/examples } -PACKAGES += "${PN}-examples" - -FILES_${PN}-examples = "${datadir}/${PN}-${PV}/examples" - -ALLOW_EMPTY_${PN} = "1" - BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
PATCH 2/3 tensorflow-lite-demo: add version 01.00.00
* This supports classification and segmentation demos with tensorflow lite models running on Arm. It demonstrates the whole pipeline from image/video/camera input, to tensorflow lite inference, to display the classification/segemenation results.
* OpenCV is used for capturing the input and displaying the results.
--- .../files/run_classification.sh | 7 +++ .../tensorflow-lite/files/run_segmentation.sh | 8 +++ .../tensorflow-lite-demo_git.bb | 53 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/files/run_classification.sh create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/files/run_segmentation.sh create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb
meta-arago-extras/recipes-support/tensorflow-lite/files/run_classification.sh new file +7 -0
@@ -0,0 +1,7 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_classification binary with the model, the input image, and the label file specified. +# Classification label is overlayed with the input image. Right click the image display window to exit. +./tflite_classification -m ../examples/mobilenet_v1_1.0_224_quant.tflite -i ../examples/grace_hopper.bmp -l ../examples/labels.txt
meta-arago-extras/recipes-support/tensorflow-lite/files/run_segmentation.sh new file +8 -0
@@ -0,0 +1,8 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_segmentation binary with the model and the input image specified. +# The display window shows the input(resized) image, segmentation map, overlay +# of the former two. Right click the image display window to exit. +./tflite_segmentation -m ./deeplabv3_257_mv_gpu.tflite -i ./bird_segmentation.bmp
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.17.1
Re: [zeus/master] [PATCH 2/3] tensorflow-lite-demo: add version 01.00.00
Quoted 49 lines · Hongmei Gou
* This supports classification and segmentation demos with tensorflow lite models running on Arm. It demonstrates the whole pipeline from image/video/camera input, to tensorflow lite inference, to display the classification/segemenation results.
* OpenCV is used for capturing the input and displaying the results.
Signed-off-by Hongmei Gou <[email protected]>--- .../files/run_classification.sh | 7 +++ .../tensorflow-lite/files/run_segmentation.sh | 8 +++ .../tensorflow-lite-demo_git.bb | 53 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/files/run_classification.sh create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/files/run_segmentation.sh create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bbmeta-arago-extras/recipes-support/tensorflow-lite/files/run_classification.sh new file +7
-0@@ -0,0 +1,7 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_classification binary with the model, the input image, and the label file specified. +# Classification label is overlayed with the input image. Right click the image display window to exit. +./tflite_classification -m ../examples/mobilenet_v1_1.0_224_quant.tflite -i ../examples/grace_hopper.bmp -l ../examples/labels.txtmeta-arago-extras/recipes-support/tensorflow-lite/files/run_segmentation.sh new file +8
-0@@ -0,0 +1,8 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_segmentation binary with the model and the input image specified. +# The display window shows the input(resized) image, segmentation map, overlay +# of the former two. Right click the image display window to exit. +./tflite_segmentation -m ./deeplabv3_257_mv_gpu.tflite -i ./bird_segmentation.bmpmeta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb new file +0
-0
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb line 1
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb new file +1
-0@@ -0,0 +1,53 @@ +DESCRIPTION = "Tensorflow Lite Demo with input and display via OpenCV and TIDL acceleration for AM5"
SUMMARY?
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb line 7
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb new file +6
-0+LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d8927f3331d2b3e321b7dd1925166d25" + +DEPENDS = "tensorflow-lite flatbuffers opencv" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|am65xx"
Why ^^^?
Quoted 52 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb new file +45
-0+PV = "01.00.00" +PR = "r0" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/apps/tensorflow-lite-examples.git;protocol=git;branch=${BRANCH} \ + http://storage.googleapis.com/download.tensorflow.org/models/tflite/gpu/deeplabv3_257_mv_gpu.tflite;name=deeplabv3;subdir=${WORKDIR}/model;destsuffix=model \ + http://raw.githubusercontent.com/google-coral/edgetpu/master/test_data/bird_segmentation.bmp;name=bird_segmentation;subdir=${WORKDIR}/test_data;destsuffix=test_data \ + file://run_classification.sh \ + file://run_segmentation.sh" + +SRC_URI[deeplabv3.md5sum] = "4a24db5a5fb05c47586a1197765e8548" +SRC_URI[deeplabv3.sha256sum] = "68a539782c2c6a72f8aac3724600124a85ed977162b44e84cbae5db717c933c6" +SRC_URI[bird_segmentation.md5sum] = "fc3202ac4e3033b36df3043de6dc32c9" +SRC_URI[bird_segmentation.sha256sum] = "e43cedd29ab385db787531c8a6cdcb31c5e4292af34f242877ed40611e502670" + +SRCREV = "d84f1d43585c0db2fa6a1c15db9145ab53f859ce" + +S = "${WORKDIR}/git" + +CXXFLAGS_append = " -O3 -DNDEBUG -fPIC -I${STAGING_INCDIR}" +LDFLAGS_append = " -L${STAGING_LIBDIR}" + +EXTRA_OEMAKE = "\ + 'CXX=${CXX}' \ + 'CXXFLAGS=${CXXFLAGS}' \ + 'AR=${AR}' \ + 'LD=${LD}' \ + 'LDFLAGS=${LDFLAGS}' \ + 'TARGET=${TARGET_OS}' \ + 'TARGET_ARCH=${TARGET_ARCH}'" + +do_compile() { + oe_runmake -f Makefile +} + +do_install() { + install -d ${D}${datadir}/tensorflow-lite/demos + install -m 0755 ${S}/tflite_classification ${D}${datadir}/tensorflow-lite/demos + install -m 0755 ${S}/tflite_segmentation ${D}${datadir}/tensorflow-lite/demos + install -m 0644 ${WORKDIR}/model/deeplabv3_257_mv_gpu.tflite ${D}${datadir}/tensorflow-lite/demos + install -m 0644 ${WORKDIR}/test_data/bird_segmentation.bmp ${D}${datadir}/tensorflow-lite/demos + install -m 0755 ${WORKDIR}/run*.sh ${D}${datadir}/tensorflow-lite/demos +} + +FILES_${PN} = "${datadir}/tensorflow-lite/demos"Signature · 6 lines
2.17.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [zeus/master] [PATCH 2/3] tensorflow-lite-demo: add version 01.00.00
Quoted 78 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, February 27, 2020 6:15 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-arago] [zeus/master] [PATCH 2/3] tensorflow-lite-demo:
add version 01.00.00Quoted 1 line · Hongmei Gou
* This supports classification and segmentation demos with tensorflow lite
models
Quoted 1 line
running on Arm. It demonstrates the whole pipeline from
image/video/camera input,
Quoted 1 line
to tensorflow lite inference, to display the classification/segemenation
results.
Quoted 10 lines
* OpenCV is used for capturing the input and displaying the results.
Signed-off-by Hongmei Gou <[email protected]>--- .../files/run_classification.sh | 7 +++ .../tensorflow-lite/files/run_segmentation.sh | 8 +++ .../tensorflow-lite-demo_git.bb | 53 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 meta-arago-extras/recipes-support/tensorflow-
lite/files/run_classification.shQuoted 1 line
create mode 100644 meta-arago-extras/recipes-support/tensorflow-
lite/files/run_segmentation.shQuoted 1 line
create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb
Review
Quoted 2 lines
(quoted diff) +0
-0
lite/files/run_classification.shb/meta-arago-extras/recipes-support/tensorflow-lite/files/run_classification.shmeta-arago-extras/recipes-support/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..b2ad7fc4meta-arago-extras/recipes-support/tensorflow- new file +0
-0
lite/files/run_classification.shmeta-arago-extras/recipes-support/tensorflow- line 5
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- new file +5
-0@@ -0,0 +1,7 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_classification binary with the model, the input image, and thelabel file specified.
meta-arago-extras/recipes-support/tensorflow- line 6
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+# Classification label is overlayed with the input image. Right click theimage display window to exit.
meta-arago-extras/recipes-support/tensorflow- line 7
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+./tflite_classification -m ../examples/mobilenet_v1_1.0_224_quant.tflite -i ../examples/grace_hopper.bmp -l
../examples/labels.txtReview
Quoted 1 line
(quoted diff) +0
-0
lite/files/run_segmentation.shb/meta-arago-extras/recipes-support/tensorflow-lite/files/run_segmentation.shmeta-arago-extras/recipes-support/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..5caea127meta-arago-extras/recipes-support/tensorflow- new file +0
-0
lite/files/run_segmentation.shmeta-arago-extras/recipes-support/tensorflow- line 5
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- new file +5
-0@@ -0,0 +1,8 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_segmentation binary with the model and the input imagespecified.
meta-arago-extras/recipes-support/tensorflow- line 6
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+# The display window shows the input(resized) image, segmentationmap, overlay
meta-arago-extras/recipes-support/tensorflow- line 8
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow- new file +2
-0+# of the former two. Right click the image display window to exit. +./tflite_segmentation -m ./deeplabv3_257_mv_gpu.tflite -i./bird_segmentation.bmp
Review
Quoted 1 line
(quoted diff) +0
-0lite-demo_git.bb b/meta-arago-extras/recipes-support/tensorflow- lite/tensorflow-lite-demo_git.bb
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-
Quoted 4 lines
new file mode 100644
index 00000000..9b99b63cmeta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +0
-0demo_git.bb
Quoted 5 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 1
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0@@ -0,0 +1,53 @@ +DESCRIPTION = "Tensorflow Lite Demo with input and display via OpenCVand TIDL acceleration for AM5"
SUMMARY?
Do you mean adding "SUMMARY" or replacing "DESCRIPTION" with "SUMMARY"?
Quoted 11 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 3
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +2
-0+LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM ="file://LICENSE;md5=d8927f3331d2b3e321b7dd1925166d25"
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 7
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +4
-0+ +DEPENDS = "tensorflow-lite flatbuffers opencv" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|am65xx"Why ^^^?
This demo has dependency on OpenCV for GUI display, which is available for the machines above.
Quoted 68 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 12
Quoted 7 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +5
-0+PV = "01.00.00" +PR = "r0" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/apps/tensorflow-lite-examples.git;protocol=git;branch=${BRANCH} \
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 13
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+http://storage.googleapis.com/download.tensorflow.org/models/tflite/gpu/
deeplabv3_257_mv_gpu.tflite;name=deeplabv3;subdir=${WORKDIR}/model ;destsuffix=model \meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 14
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+ http://raw.githubusercontent.com/google-coral/edgetpu/master/test_data/bird_segmentation.bmp;name=bird_segm entation;subdir=${WORKDIR}/test_data;destsuffix=test_data \
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 19
Quoted 5 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +5
-0+ file://run_classification.sh \ + file://run_segmentation.sh" + +SRC_URI[deeplabv3.md5sum] = "4a24db5a5fb05c47586a1197765e8548" +SRC_URI[deeplabv3.sha256sum] ="
68a539782c2c6a72f8aac3724600124a85ed977162b44e84cbae5db717c933c6"meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 20
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+SRC_URI[bird_segmentation.md5sum] ="
fc3202ac4e3033b36df3043de6dc32c9"meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 21
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+SRC_URI[bird_segmentation.sha256sum] ="
e43cedd29ab385db787531c8a6cdcb31c5e4292af34f242877ed40611e502670"Quoted 14 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +14
-0+ +SRCREV = "d84f1d43585c0db2fa6a1c15db9145ab53f859ce" + +S = "${WORKDIR}/git" + +CXXFLAGS_append = " -O3 -DNDEBUG -fPIC -I${STAGING_INCDIR}" +LDFLAGS_append = " -L${STAGING_LIBDIR}" + +EXTRA_OEMAKE = "\ + 'CXX=${CXX}' \ + 'CXXFLAGS=${CXXFLAGS}' \ + 'AR=${AR}' \ + 'LD=${LD}' \ + 'LDFLAGS=${LDFLAGS}' \meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 45
Quoted 10 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +10
-0+ 'TARGET=${TARGET_OS}' \ + 'TARGET_ARCH=${TARGET_ARCH}'" + +do_compile() { + oe_runmake -f Makefile +} + +do_install() { + install -d ${D}${datadir}/tensorflow-lite/demos + install -m 0755 ${S}/tflite_classification ${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 46
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+ install -m 0755 ${S}/tflite_segmentation ${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 47
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+ install -m 0644 ${WORKDIR}/model/deeplabv3_257_mv_gpu.tflite${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 48
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+ install -m 0644 ${WORKDIR}/test_data/bird_segmentation.bmp${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 49
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+ install -m 0755 ${WORKDIR}/run*.sh ${D}${datadir}/tensorflow-lite/demos
Quoted 10 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +3
-1+} + +FILES_${PN} = "${datadir}/tensorflow-lite/demos" --2.17.1
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [zeus/master] [PATCH 2/3] tensorflow-lite-demo: add version 01.00.00
Quoted 78 lines · Hongmei
Quoted 78 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, February 27, 2020 6:15 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-arago] [zeus/master] [PATCH 2/3] tensorflow-lite-demo:
add version 01.00.00Quoted 1 line · Hongmei Gou
* This supports classification and segmentation demos with tensorflow lite
models
Quoted 1 line
running on Arm. It demonstrates the whole pipeline from
image/video/camera input,
Quoted 1 line
to tensorflow lite inference, to display the classification/segemenation
results.
Quoted 10 lines
* OpenCV is used for capturing the input and displaying the results.
Signed-off-by Hongmei Gou <[email protected]>--- .../files/run_classification.sh | 7 +++ .../tensorflow-lite/files/run_segmentation.sh | 8 +++ .../tensorflow-lite-demo_git.bb | 53 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 meta-arago-extras/recipes-support/tensorflow-
lite/files/run_classification.shQuoted 1 line
create mode 100644 meta-arago-extras/recipes-support/tensorflow-
lite/files/run_segmentation.shQuoted 1 line
create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb
Review
Quoted 2 lines
(quoted diff) +0
-0
lite/files/run_classification.shb/meta-arago-extras/recipes-support/tensorflow-lite/files/run_classification.shmeta-arago-extras/recipes-support/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..b2ad7fc4meta-arago-extras/recipes-support/tensorflow- new file +0
-0
lite/files/run_classification.shmeta-arago-extras/recipes-support/tensorflow- line 5
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- new file +5
-0@@ -0,0 +1,7 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_classification binary with the model, the input image, and thelabel file specified.
meta-arago-extras/recipes-support/tensorflow- line 6
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+# Classification label is overlayed with the input image. Right click theimage display window to exit.
meta-arago-extras/recipes-support/tensorflow- line 7
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+./tflite_classification -m ../examples/mobilenet_v1_1.0_224_quant.tflite -i ../examples/grace_hopper.bmp -l
../examples/labels.txtReview
Quoted 1 line
(quoted diff) +0
-0
lite/files/run_segmentation.shb/meta-arago-extras/recipes-support/tensorflow-lite/files/run_segmentation.shmeta-arago-extras/recipes-support/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..5caea127meta-arago-extras/recipes-support/tensorflow- new file +0
-0
lite/files/run_segmentation.shmeta-arago-extras/recipes-support/tensorflow- line 5
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- new file +5
-0@@ -0,0 +1,8 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_segmentation binary with the model and the input imagespecified.
meta-arago-extras/recipes-support/tensorflow- line 6
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+# The display window shows the input(resized) image, segmentationmap, overlay
meta-arago-extras/recipes-support/tensorflow- line 8
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow- new file +2
-0+# of the former two. Right click the image display window to exit. +./tflite_segmentation -m ./deeplabv3_257_mv_gpu.tflite -i./bird_segmentation.bmp
Review
Quoted 1 line
(quoted diff) +0
-0lite-demo_git.bb b/meta-arago-extras/recipes-support/tensorflow- lite/tensorflow-lite-demo_git.bb
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-
Quoted 4 lines
new file mode 100644
index 00000000..9b99b63cmeta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +0
-0demo_git.bb
Quoted 7 lines
Quoted 5 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 1
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0@@ -0,0 +1,53 @@ +DESCRIPTION = "Tensorflow Lite Demo with input and display via OpenCVand TIDL acceleration for AM5"
SUMMARY?
Do you mean adding "SUMMARY" or replacing "DESCRIPTION" with "SUMMARY"?
Either.
Quoted 11 lines
Quoted 9 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 3
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +2
-0+LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM ="file://LICENSE;md5=d8927f3331d2b3e321b7dd1925166d25"
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 7
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +4
-0+ +DEPENDS = "tensorflow-lite flatbuffers opencv" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|am65xx"Why ^^^?
This demo has dependency on OpenCV for GUI display, which is available for the machines above.
Yes, pushed a fix for that - OpenCV was limited to DSP-enabled platforms in Zeus due to initial integration limitations.
Quoted 66 lines
Quoted 66 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 12
Quoted 5 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +5
-0+PV = "01.00.00" +PR = "r0" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/apps/tensorflow-lite-examples.git;protocol=git;branch=${BRANCH} \
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 13
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+http://storage.googleapis.com/download.tensorflow.org/models/tflite/gpu/
deeplabv3_257_mv_gpu.tflite;name=deeplabv3;subdir=${WORKDIR}/model ;destsuffix=model \meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 14
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+ http://raw.githubusercontent.com/google-coral/edgetpu/master/test_data/bird_segmentation.bmp;name=bird_segm entation;subdir=${WORKDIR}/test_data;destsuffix=test_data \
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 19
Quoted 5 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +5
-0+ file://run_classification.sh \ + file://run_segmentation.sh" + +SRC_URI[deeplabv3.md5sum] = "4a24db5a5fb05c47586a1197765e8548" +SRC_URI[deeplabv3.sha256sum] ="
68a539782c2c6a72f8aac3724600124a85ed977162b44e84cbae5db717c933c6"meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 20
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+SRC_URI[bird_segmentation.md5sum] ="
fc3202ac4e3033b36df3043de6dc32c9"meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 21
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+SRC_URI[bird_segmentation.sha256sum] ="
e43cedd29ab385db787531c8a6cdcb31c5e4292af34f242877ed40611e502670"Quoted 14 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +14
-0+ +SRCREV = "d84f1d43585c0db2fa6a1c15db9145ab53f859ce" + +S = "${WORKDIR}/git" + +CXXFLAGS_append = " -O3 -DNDEBUG -fPIC -I${STAGING_INCDIR}" +LDFLAGS_append = " -L${STAGING_LIBDIR}" + +EXTRA_OEMAKE = "\ + 'CXX=${CXX}' \ + 'CXXFLAGS=${CXXFLAGS}' \ + 'AR=${AR}' \ + 'LD=${LD}' \ + 'LDFLAGS=${LDFLAGS}' \meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 45
Quoted 10 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +10
-0+ 'TARGET=${TARGET_OS}' \ + 'TARGET_ARCH=${TARGET_ARCH}'" + +do_compile() { + oe_runmake -f Makefile +} + +do_install() { + install -d ${D}${datadir}/tensorflow-lite/demos + install -m 0755 ${S}/tflite_classification ${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 46
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+ install -m 0755 ${S}/tflite_segmentation ${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 47
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+ install -m 0644 ${WORKDIR}/model/deeplabv3_257_mv_gpu.tflite${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 48
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+ install -m 0644 ${WORKDIR}/test_data/bird_segmentation.bmp${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- line 49
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +1
-0+ install -m 0755 ${WORKDIR}/run*.sh ${D}${datadir}/tensorflow-lite/demos
Quoted 10 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite- new file +3
-1+} + +FILES_${PN} = "${datadir}/tensorflow-lite/demos" --2.17.1
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [zeus/master] [PATCH 2/3] tensorflow-lite-demo: add version 01.00.00
Quoted 96 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 28, 2020 12:12 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-arago] [zeus/master] [PATCH 2/3] tensorflow-lite-demo:
add version 01.00.00Quoted 6 lines · Hongmei
Quoted 6 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, February 27, 2020 6:15 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-arago] [zeus/master] [PATCH 2/3] tensorflow-lite-demo:
Quoted 4 lines
Quoted 4 lines
add version 01.00.00
Quoted 1 line · Hongmei Gou
* This supports classification and segmentation demos with tensorflow
lite
Quoted 29 lines
Quoted 29 lines
models
Quoted 1 line
running on Arm. It demonstrates the whole pipeline from
image/video/camera input,
Quoted 1 line
to tensorflow lite inference, to display the classification/segemenation
results.
Quoted 10 lines
* OpenCV is used for capturing the input and displaying the results.
Signed-off-by Hongmei Gou <[email protected]>--- .../files/run_classification.sh | 7 +++ .../tensorflow-lite/files/run_segmentation.sh | 8 +++ .../tensorflow-lite-demo_git.bb | 53 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 meta-arago-extras/recipes-support/tensorflow-
lite/files/run_classification.shQuoted 1 line
create mode 100644 meta-arago-extras/recipes-support/tensorflow-
lite/files/run_segmentation.shQuoted 1 line
create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb
Review
Quoted 2 lines
(quoted diff) +0
-0
lite/files/run_classification.shb/meta-arago-extras/recipes-support/tensorflow-lite/files/run_classification.shmeta-arago-extras/recipes-support/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..b2ad7fc4meta-arago-extras/recipes-support/tensorflow- new file +0
-0
lite/files/run_classification.shQuoted 6 lines
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- line 5
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- new file +5
-0@@ -0,0 +1,7 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_classification binary with the model, the input image, andthe
Quoted 4 lines
Quoted 4 lines
label file specified.
meta-arago-extras/recipes-support/tensorflow- line 6
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+# Classification label is overlayed with the input image. Right click theimage display window to exit.
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+./tflite_classification -m../examples/mobilenet_v1_1.0_224_quant.tflite -
Quoted 16 lines
Quoted 16 lines
i ../examples/grace_hopper.bmp -l
../examples/labels.txtReview
Quoted 1 line
(quoted diff) +0
-0
lite/files/run_segmentation.shb/meta-arago-extras/recipes-support/tensorflow-lite/files/run_segmentation.shmeta-arago-extras/recipes-support/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..5caea127meta-arago-extras/recipes-support/tensorflow- new file +0
-0
lite/files/run_segmentation.shmeta-arago-extras/recipes-support/tensorflow- line 5
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- new file +5
-0@@ -0,0 +1,8 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_segmentation binary with the model and the input imagespecified.
Quoted 6 lines
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- line 6
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+# The display window shows the input(resized) image, segmentationmap, overlay
meta-arago-extras/recipes-support/tensorflow- line 8
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow- new file +2
-0+# of the former two. Right click the image display window to exit. +./tflite_segmentation -m ./deeplabv3_257_mv_gpu.tflite -i./bird_segmentation.bmp
Review
Quoted 1 line
(quoted diff) +0
-0lite/tensorflow-
Quoted 6 lines
Quoted 6 lines
lite-demo_git.bb b/meta-arago-extras/recipes-support/tensorflow- lite/tensorflow-lite-demo_git.bb
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..9b99b63cmeta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +0
-0lite-
Quoted 3 lines
Quoted 3 lines
demo_git.bb
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 1
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0@@ -0,0 +1,53 @@ +DESCRIPTION = "Tensorflow Lite Demo with input and display viaOpenCV
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
and TIDL acceleration for AM5"
SUMMARY?
Do you mean adding "SUMMARY" or replacing "DESCRIPTION" with
"SUMMARY"?
Either.
Thank you! Just submitted a v2 patch to replace "DESCRIPTION" with "SUMMARY".
Quoted 91 lines
Quoted 5 lines
Quoted 5 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 3
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +2
-0+LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM ="file://LICENSE;md5=d8927f3331d2b3e321b7dd1925166d25"
Quoted 8 lines
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 7
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +4
-0+ +DEPENDS = "tensorflow-lite flatbuffers opencv" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|am65xx"Why ^^^?
This demo has dependency on OpenCV for GUI display, which is available
for the machines above.
Yes, pushed a fix for that - OpenCV was limited to DSP-enabled platforms in Zeus due to initial integration limitations.
Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 12
Quoted 5 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +5
-0+PV = "01.00.00" +PR = "r0" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/apps/tensorflow-lite-examples.git;protocol=git;branch=${BRANCH} \
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+http://storage.googleapis.com/download.tensorflow.org/models/tflite/gpu/
Quoted 1 line
Quoted 1 line
deeplabv3_257_mv_gpu.tflite;name=deeplabv3;subdir=${WORKDIR}/model
Quoted 3 lines
Quoted 3 lines
;destsuffix=model \
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+ http://raw.githubusercontent.com/google-coral/edgetpu/master/test_data/bird_segmentation.bmp;name=bird_segm
Quoted 5 lines
Quoted 5 lines
entation;subdir=${WORKDIR}/test_data;destsuffix=test_data \
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 18
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +4
-0+ file://run_classification.sh \ + file://run_segmentation.sh" + +SRC_URI[deeplabv3.md5sum] ="
4a24db5a5fb05c47586a1197765e8548"Quoted 2 lines
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 19
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+SRC_URI[deeplabv3.sha256sum] ="
68a539782c2c6a72f8aac3724600124a85ed977162b44e84cbae5db717c933c6"Quoted 4 lines
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 20
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+SRC_URI[bird_segmentation.md5sum] ="
fc3202ac4e3033b36df3043de6dc32c9"Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+SRC_URI[bird_segmentation.sha256sum] ="
e43cedd29ab385db787531c8a6cdcb31c5e4292af34f242877ed40611e502670"Quoted 43 lines
Quoted 43 lines
Quoted 14 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +14
-0+ +SRCREV = "d84f1d43585c0db2fa6a1c15db9145ab53f859ce" + +S = "${WORKDIR}/git" + +CXXFLAGS_append = " -O3 -DNDEBUG -fPIC -I${STAGING_INCDIR}" +LDFLAGS_append = " -L${STAGING_LIBDIR}" + +EXTRA_OEMAKE = "\ + 'CXX=${CXX}' \ + 'CXXFLAGS=${CXXFLAGS}' \ + 'AR=${AR}' \ + 'LD=${LD}' \ + 'LDFLAGS=${LDFLAGS}' \meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 45
Quoted 10 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +10
-0+ 'TARGET=${TARGET_OS}' \ + 'TARGET_ARCH=${TARGET_ARCH}'" + +do_compile() { + oe_runmake -f Makefile +} + +do_install() { + install -d ${D}${datadir}/tensorflow-lite/demos + install -m 0755 ${S}/tflite_classification ${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 46
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+ install -m 0755 ${S}/tflite_segmentation ${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 47
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+ install -m 0644 ${WORKDIR}/model/deeplabv3_257_mv_gpu.tflite${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 48
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+ install -m 0644 ${WORKDIR}/test_data/bird_segmentation.bmp${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 49
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+ install -m 0755 ${WORKDIR}/run*.sh ${D}${datadir}/tensorflow-lite/demos
Quoted 10 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +3
-1+} + +FILES_${PN} = "${datadir}/tensorflow-lite/demos" --2.17.1
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [zeus/master] [PATCH 2/3] tensorflow-lite-demo: add version 01.00.00
Quoted 98 lines · Hongmei
Quoted 98 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 28, 2020 12:12 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-arago] [zeus/master] [PATCH 2/3] tensorflow-lite-demo:
add version 01.00.00Quoted 6 lines · Hongmei
Quoted 6 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, February 27, 2020 6:15 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-arago] [zeus/master] [PATCH 2/3] tensorflow-lite-demo:
Quoted 4 lines
Quoted 4 lines
add version 01.00.00
Quoted 1 line · Hongmei Gou
* This supports classification and segmentation demos with tensorflow
lite
Quoted 29 lines
Quoted 29 lines
models
Quoted 1 line
running on Arm. It demonstrates the whole pipeline from
image/video/camera input,
Quoted 1 line
to tensorflow lite inference, to display the classification/segemenation
results.
Quoted 10 lines
* OpenCV is used for capturing the input and displaying the results.
Signed-off-by Hongmei Gou <[email protected]>--- .../files/run_classification.sh | 7 +++ .../tensorflow-lite/files/run_segmentation.sh | 8 +++ .../tensorflow-lite-demo_git.bb | 53 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 meta-arago-extras/recipes-support/tensorflow-
lite/files/run_classification.shQuoted 1 line
create mode 100644 meta-arago-extras/recipes-support/tensorflow-
lite/files/run_segmentation.shQuoted 1 line
create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb
Review
Quoted 2 lines
(quoted diff) +0
-0
lite/files/run_classification.shb/meta-arago-extras/recipes-support/tensorflow-lite/files/run_classification.shmeta-arago-extras/recipes-support/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..b2ad7fc4meta-arago-extras/recipes-support/tensorflow- new file +0
-0
lite/files/run_classification.shQuoted 6 lines
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- line 5
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- new file +5
-0@@ -0,0 +1,7 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_classification binary with the model, the input image, andthe
Quoted 4 lines
Quoted 4 lines
label file specified.
meta-arago-extras/recipes-support/tensorflow- line 6
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+# Classification label is overlayed with the input image. Right click theimage display window to exit.
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+./tflite_classification -m../examples/mobilenet_v1_1.0_224_quant.tflite -
Quoted 16 lines
Quoted 16 lines
i ../examples/grace_hopper.bmp -l
../examples/labels.txtReview
Quoted 1 line
(quoted diff) +0
-0
lite/files/run_segmentation.shb/meta-arago-extras/recipes-support/tensorflow-lite/files/run_segmentation.shmeta-arago-extras/recipes-support/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..5caea127meta-arago-extras/recipes-support/tensorflow- new file +0
-0
lite/files/run_segmentation.shmeta-arago-extras/recipes-support/tensorflow- line 5
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- new file +5
-0@@ -0,0 +1,8 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_segmentation binary with the model and the input imagespecified.
Quoted 6 lines
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- line 6
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+# The display window shows the input(resized) image, segmentationmap, overlay
meta-arago-extras/recipes-support/tensorflow- line 8
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow- new file +2
-0+# of the former two. Right click the image display window to exit. +./tflite_segmentation -m ./deeplabv3_257_mv_gpu.tflite -i./bird_segmentation.bmp
Review
Quoted 1 line
(quoted diff) +0
-0lite/tensorflow-
Quoted 6 lines
Quoted 6 lines
lite-demo_git.bb b/meta-arago-extras/recipes-support/tensorflow- lite/tensorflow-lite-demo_git.bb
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..9b99b63cmeta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +0
-0lite-
Quoted 3 lines
Quoted 3 lines
demo_git.bb
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 1
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0@@ -0,0 +1,53 @@ +DESCRIPTION = "Tensorflow Lite Demo with input and display viaOpenCV
Quoted 2 lines
Quoted 2 lines
and TIDL acceleration for AM5"
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
SUMMARY?
Do you mean adding "SUMMARY" or replacing "DESCRIPTION" with
"SUMMARY"?
Either.
Thank you! Just submitted a v2 patch to replace "DESCRIPTION" with "SUMMARY".
SUMMARY is required and is a short one-line. DESCRIPTION is optional and can be a longer, more detailed one.
BTW, I already merged v1 - can you please submit a separate change? Thanks!
Quoted 89 lines
Quoted 89 lines
Quoted 11 lines
Quoted 9 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 3
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +2
-0+LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM ="file://LICENSE;md5=d8927f3331d2b3e321b7dd1925166d25"
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 7
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +4
-0+ +DEPENDS = "tensorflow-lite flatbuffers opencv" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|am65xx"Why ^^^?
This demo has dependency on OpenCV for GUI display, which is available
for the machines above.
Yes, pushed a fix for that - OpenCV was limited to DSP-enabled platforms in Zeus due to initial integration limitations.
Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 12
Quoted 5 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +5
-0+PV = "01.00.00" +PR = "r0" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/apps/tensorflow-lite-examples.git;protocol=git;branch=${BRANCH} \
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+http://storage.googleapis.com/download.tensorflow.org/models/tflite/gpu/
Quoted 1 line
Quoted 1 line
deeplabv3_257_mv_gpu.tflite;name=deeplabv3;subdir=${WORKDIR}/model
Quoted 3 lines
Quoted 3 lines
;destsuffix=model \
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+ http://raw.githubusercontent.com/google-coral/edgetpu/master/test_data/bird_segmentation.bmp;name=bird_segm
Quoted 5 lines
Quoted 5 lines
entation;subdir=${WORKDIR}/test_data;destsuffix=test_data \
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 18
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +4
-0+ file://run_classification.sh \ + file://run_segmentation.sh" + +SRC_URI[deeplabv3.md5sum] ="
4a24db5a5fb05c47586a1197765e8548"Quoted 2 lines
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 19
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+SRC_URI[deeplabv3.sha256sum] ="
68a539782c2c6a72f8aac3724600124a85ed977162b44e84cbae5db717c933c6"Quoted 4 lines
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 20
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+SRC_URI[bird_segmentation.md5sum] ="
fc3202ac4e3033b36df3043de6dc32c9"Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+SRC_URI[bird_segmentation.sha256sum] ="
e43cedd29ab385db787531c8a6cdcb31c5e4292af34f242877ed40611e502670"Quoted 43 lines
Quoted 43 lines
Quoted 14 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +14
-0+ +SRCREV = "d84f1d43585c0db2fa6a1c15db9145ab53f859ce" + +S = "${WORKDIR}/git" + +CXXFLAGS_append = " -O3 -DNDEBUG -fPIC -I${STAGING_INCDIR}" +LDFLAGS_append = " -L${STAGING_LIBDIR}" + +EXTRA_OEMAKE = "\ + 'CXX=${CXX}' \ + 'CXXFLAGS=${CXXFLAGS}' \ + 'AR=${AR}' \ + 'LD=${LD}' \ + 'LDFLAGS=${LDFLAGS}' \meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 45
Quoted 10 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +10
-0+ 'TARGET=${TARGET_OS}' \ + 'TARGET_ARCH=${TARGET_ARCH}'" + +do_compile() { + oe_runmake -f Makefile +} + +do_install() { + install -d ${D}${datadir}/tensorflow-lite/demos + install -m 0755 ${S}/tflite_classification ${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 46
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+ install -m 0755 ${S}/tflite_segmentation ${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 47
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+ install -m 0644 ${WORKDIR}/model/deeplabv3_257_mv_gpu.tflite${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 48
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+ install -m 0644 ${WORKDIR}/test_data/bird_segmentation.bmp${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- line 49
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +1
-0+ install -m 0755 ${WORKDIR}/run*.sh ${D}${datadir}/tensorflow-lite/demos
Quoted 10 lines
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow- new file +3
-1+} + +FILES_${PN} = "${datadir}/tensorflow-lite/demos" --2.17.1
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [zeus/master] [PATCH 2/3] tensorflow-lite-demo: add version 01.00.00
Quoted 126 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 28, 2020 12:25 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-arago] [zeus/master] [PATCH 2/3] tensorflow-lite-demo:
add version 01.00.00Quoted 6 lines · Hongmei
Quoted 6 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 28, 2020 12:12 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-arago] [zeus/master] [PATCH 2/3] tensorflow-lite-demo:
Quoted 9 lines
Quoted 9 lines
add version 01.00.00
Quoted 6 lines · Hongmei
Quoted 6 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, February 27, 2020 6:15 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-arago] [zeus/master] [PATCH 2/3] tensorflow-lite-Quoted 5 lines
Quoted 5 lines
demo:
Quoted 4 lines
Quoted 4 lines
add version 01.00.00
Quoted 1 line · Hongmei Gou
* This supports classification and segmentation demos with
tensorflow
Quoted 5 lines
Quoted 5 lines
lite
Quoted 4 lines
Quoted 4 lines
models
Quoted 1 line
running on Arm. It demonstrates the whole pipeline from
image/video/camera input,
Quoted 1 line
to tensorflow lite inference, to display the
classification/segemenation
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
results.
Quoted 8 lines
* OpenCV is used for capturing the input and displaying the results.
Signed-off-by Hongmei Gou <[email protected]>--- .../files/run_classification.sh | 7 +++ .../tensorflow-lite/files/run_segmentation.sh | 8 +++ .../tensorflow-lite-demo_git.bb | 53+++++++++++++++++++
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
3 files changed, 68 insertions(+) create mode 100644 meta-arago-extras/recipes-support/tensorflow-
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lite/files/run_classification.shQuoted 1 line
create mode 100644 meta-arago-extras/recipes-support/tensorflow-
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lite/files/run_segmentation.shQuoted 1 line
create mode 100644 meta-arago-extras/recipes-support/tensorflow-
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
lite/tensorflow-lite-demo_git.bb
Review
Quoted 2 lines
(quoted diff) +0
-0
lite/files/run_classification.shb/meta-arago-extras/recipes-support/tensorflow-lite/files/run_classification.shmeta-arago-extras/recipes-support/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..b2ad7fc4meta-arago-extras/recipes-support/tensorflow- new file +0
-0
lite/files/run_classification.shQuoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- line 5
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- new file +5
-0@@ -0,0 +1,7 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_classification binary with the model, the input image,and
Quoted 3 lines
Quoted 3 lines
the
Quoted 2 lines
Quoted 2 lines
label file specified.
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+# Classification label is overlayed with the input image. Right clickthe
Quoted 12 lines
Quoted 12 lines
Quoted 2 lines
Quoted 2 lines
image display window to exit.
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+./tflite_classification -m../examples/mobilenet_v1_1.0_224_quant.tflite -
Quoted 9 lines
Quoted 9 lines
i ../examples/grace_hopper.bmp -l
../examples/labels.txtReview
Quoted 1 line
(quoted diff) +0
-0
lite/files/run_segmentation.shb/meta-arago-extras/recipes-support/tensorflow-lite/files/run_segmentation.shmeta-arago-extras/recipes-support/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..5caea127meta-arago-extras/recipes-support/tensorflow- new file +0
-0
lite/files/run_segmentation.shQuoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- line 5
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- new file +5
-0@@ -0,0 +1,8 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_segmentation binary with the model and the inputimage
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
specified.
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+# The display window shows the input(resized) image,segmentation
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
map, overlay
meta-arago-extras/recipes-support/tensorflow- line 8
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow- new file +2
-0+# of the former two. Right click the image display window to exit. +./tflite_segmentation -m ./deeplabv3_257_mv_gpu.tflite -i./bird_segmentation.bmp
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Review
Quoted 1 line
(quoted diff) +0
-0lite/tensorflow-
Quoted 6 lines
Quoted 6 lines
lite-demo_git.bb b/meta-arago-extras/recipes-support/tensorflow- lite/tensorflow-lite-demo_git.bb
meta-arago-extras/recipes-support/tensorflow-
Quoted 4 lines
new file mode 100644
index 00000000..9b99b63cmeta-arago-extras/recipes-support/tensorflow- new file +0
-0lite/tensorflow-
Quoted 14 lines
Quoted 13 lines
lite-
Quoted 3 lines
Quoted 3 lines
demo_git.bb
meta-arago-extras/recipes-support/tensorflow- line 1
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow- new file +1
-0@@ -0,0 +1,53 @@ +DESCRIPTION = "Tensorflow Lite Demo with input and display viaOpenCV
Quoted 5 lines
Quoted 3 lines
and TIDL acceleration for AM5"
SUMMARY?
Do you mean adding "SUMMARY" or replacing "DESCRIPTION" with
"SUMMARY"?
Either.
Quoted 8 lines
Quoted 1 line
Thank you! Just submitted a v2 patch to replace "DESCRIPTION" with
"SUMMARY".
SUMMARY is required and is a short one-line. DESCRIPTION is optional and can be a longer, more detailed one.
BTW, I already merged v1 - can you please submit a separate change? Thanks!
Sure, I will include this change with my next recipe patch which adds the TIDL offload for AM5.
Quoted 102 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
meta-arago-extras/recipes-support/tensorflow- line 3
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow- new file +2
-0+LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM ="file://LICENSE;md5=d8927f3331d2b3e321b7dd1925166d25"
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- line 7
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow- new file +4
-0+ +DEPENDS = "tensorflow-lite flatbuffers opencv" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|am65xx"Why ^^^?
This demo has dependency on OpenCV for GUI display, which is
available
Quoted 3 lines
Quoted 3 lines
for the machines above.
Yes, pushed a fix for that - OpenCV was limited to DSP-enabled platforms
in
Quoted 9 lines
Quoted 9 lines
Zeus due to initial integration limitations.
Quoted 6 lines
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- line 12
Quoted 5 lines
meta-arago-extras/recipes-support/tensorflow- new file +5
-0+PV = "01.00.00" +PR = "r0" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/apps/tensorflow-lite-examples.git;protocol=git;branch=${BRANCH} \
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
meta-arago-extras/recipes-support/tensorflow- line 13
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+http://storage.googleapis.com/download.tensorflow.org/models/tflite/gpu/
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
deeplabv3_257_mv_gpu.tflite;name=deeplabv3;subdir=${WORKDIR}/model
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
;destsuffix=model \
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+ http://raw.githubusercontent.com/google-coral/edgetpu/master/test_data/bird_segmentation.bmp;name=bird_segm
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines
entation;subdir=${WORKDIR}/test_data;destsuffix=test_data \
meta-arago-extras/recipes-support/tensorflow- line 18
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow- new file +4
-0+ file://run_classification.sh \ + file://run_segmentation.sh" + +SRC_URI[deeplabv3.md5sum] ="
4a24db5a5fb05c47586a1197765e8548"Quoted 2 lines
Quoted 2 lines
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+SRC_URI[deeplabv3.sha256sum] ="
68a539782c2c6a72f8aac3724600124a85ed977162b44e84cbae5db717c933c6"Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
meta-arago-extras/recipes-support/tensorflow- line 20
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+SRC_URI[bird_segmentation.md5sum] ="
fc3202ac4e3033b36df3043de6dc32c9"Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+SRC_URI[bird_segmentation.sha256sum] ="
e43cedd29ab385db787531c8a6cdcb31c5e4292af34f242877ed40611e502670"Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- line 27
Quoted 6 lines
meta-arago-extras/recipes-support/tensorflow- new file +6
-0+ +SRCREV = "d84f1d43585c0db2fa6a1c15db9145ab53f859ce" + +S = "${WORKDIR}/git" + +CXXFLAGS_append = " -O3 -DNDEBUG -fPIC -I${STAGING_INCDIR}"
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
meta-arago-extras/recipes-support/tensorflow- new file +10
-0+LDFLAGS_append = " -L${STAGING_LIBDIR}" + +EXTRA_OEMAKE = "\ + 'CXX=${CXX}' \ + 'CXXFLAGS=${CXXFLAGS}' \ + 'AR=${AR}' \ + 'LD=${LD}' \ + 'LDFLAGS=${LDFLAGS}' \ + 'TARGET=${TARGET_OS}' \ + 'TARGET_ARCH=${TARGET_ARCH}'"Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-support/tensorflow- line 45
Quoted 8 lines
meta-arago-extras/recipes-support/tensorflow- new file +8
-0+ +do_compile() { + oe_runmake -f Makefile +} + +do_install() { + install -d ${D}${datadir}/tensorflow-lite/demos + install -m 0755 ${S}/tflite_classification${D}${datadir}/tensorflow-
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lite/demos
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+ install -m 0755 ${S}/tflite_segmentation${D}${datadir}/tensorflow-
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lite/demos
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+ install -m 0644${WORKDIR}/model/deeplabv3_257_mv_gpu.tflite
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow- line 48
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+ install -m 0644 ${WORKDIR}/test_data/bird_segmentation.bmp${D}${datadir}/tensorflow-lite/demos
meta-arago-extras/recipes-support/tensorflow- line 49
Quoted 1 line
meta-arago-extras/recipes-support/tensorflow- new file +1
-0+ install -m 0755 ${WORKDIR}/run*.sh ${D}${datadir}/tensorflow-lite/demos
Quoted 10 lines
meta-arago-extras/recipes-support/tensorflow- new file +3
-1+} + +FILES_${PN} = "${datadir}/tensorflow-lite/demos" --2.17.1
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
PATCH 3/3 packagegroup-arago-tisdk-addons: replace tensorflow-lite-examples with tensorflow-lite and add tensorflow-lite-demo
In reply to Hongmei Gou--- .../packagegroup-arago-tisdk-addons.bb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +9 -5
@@ -1,6 +1,6 @@ DESCRIPTION = "Task to install additional utilities/demos for SDKs" LICENSE = "MIT" -PR = "r76" +PR = "r77" PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -156,14 +156,16 @@ VOXEL_PACKAGES = "" EXTRA_PACKAGES_append_ti33x = " ${VOXEL_PACKAGES} \ arm-compute-library \ ${ARMNN_PACKAGES} \ - tensorflow-lite-examples \ + tensorflow-lite \ + tensorflow-lite-demo \ pdm-anomaly-detection \ " EXTRA_PACKAGES_append_ti43x = " ${VOXEL_PACKAGES} \ arm-compute-library \ ${ARMNN_PACKAGES} \ - tensorflow-lite-examples \ + tensorflow-lite \ + tensorflow-lite-demo \ pdm-anomaly-detection \ "
@@ -172,13 +174,15 @@ EXTRA_PACKAGES_append_omap-a15 = " ${VOXEL_PACKAGES} \ big-data-ipc-demo-linux-firmware \ arm-compute-library \ ${ARMNN_PACKAGES} \ - tensorflow-lite-examples \ + tensorflow-lite \ + tensorflow-lite-demo \ pdm-anomaly-detection \ " EXTRA_PACKAGES_append_am65xx = " arm-compute-library \ ${ARMNN_PACKAGES} \ - tensorflow-lite-examples \ + tensorflow-lite \ + tensorflow-lite-demo \ pdm-anomaly-detection \ "
Signature · 1 line
2.17.1
Re: [zeus/master] [PATCH 3/3] packagegroup-arago-tisdk-addons: replace tensorflow-lite-examples with tensorflow-lite and add tensorflow-lite-demo
Quoted 18 lines · Hongmei Gou
Signed-off-by Hongmei Gou <[email protected]>--- .../packagegroup-arago-tisdk-addons.bb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +1
-1@@ -1,6 +1,6 @@ DESCRIPTION = "Task to install additional utilities/demos for SDKs" LICENSE = "MIT" -PR = "r76" +PR = "r77" PACKAGE_ARCH = "${MACHINE_ARCH}"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb VOXEL_PACKAGES = "" · line 160
Quoted 6 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +2
-1@@ -156,14 +156,16 @@ VOXEL_PACKAGES = "" EXTRA_PACKAGES_append_ti33x = " ${VOXEL_PACKAGES} \ arm-compute-library \ ${ARMNN_PACKAGES} \ - tensorflow-lite-examples \ + tensorflow-lite \ + tensorflow-lite-demo \
tensorflow-lite-demo already depdens on tensorflow-lite - no need to explicitly pull both.
Quoted 37 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +6
-3pdm-anomaly-detection \ " EXTRA_PACKAGES_append_ti43x = " ${VOXEL_PACKAGES} \ arm-compute-library \ ${ARMNN_PACKAGES} \ - tensorflow-lite-examples \ + tensorflow-lite \ + tensorflow-lite-demo \ pdm-anomaly-detection \ "@@ -172,13 +174,15 @@ EXTRA_PACKAGES_append_omap-a15 = " ${VOXEL_PACKAGES} \ big-data-ipc-demo-linux-firmware \ arm-compute-library \ ${ARMNN_PACKAGES} \ - tensorflow-lite-examples \ + tensorflow-lite \ + tensorflow-lite-demo \ pdm-anomaly-detection \ " EXTRA_PACKAGES_append_am65xx = " arm-compute-library \ ${ARMNN_PACKAGES} \ - tensorflow-lite-examples \ + tensorflow-lite \ + tensorflow-lite-demo \ pdm-anomaly-detection \ "Signature · 6 lines
2.17.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago