tidl_demo*: remove timeout to exit a demo
PATCH 1/1 tidl_demo*: remove timeout to exit a demo
* tidl_classification has already mechanism to exit a demo (by right-clicking the main window)
* Avoid the side problem of not returning to the demo HTML page in time after right-clicking the main window before the timeout
--- tidl_apps/tidl_demo_livecam/runTidlLiveCam.sh | 4 +--- tidl_apps/tidl_demo_livecam_lg2/runTidlLiveCam_lg2.sh | 4 +--- tidl_apps/tidl_demo_pnexamples/runTidlPnExamples.sh | 5 +---- tidl_apps/tidl_demo_staticimg/runTidlStaticImg.sh | 3 +-- tidl_apps/tidl_demo_staticimg_dsponly/runTidlStaticImg_dsponly.sh | 3 +-- tidl_apps/tidl_demo_staticimg_lg2/runTidlStaticImg_lg2.sh | 4 +--- 6 files changed, 6 insertions(+), 17 deletions(-)
tidl_apps/tidl_demo_livecam/runTidlLiveCam.sh +1 -3
@@ -1,5 +1,3 @@ cd /usr/share/ti/tidl/examples/classification -./tidl_classification -g 1 -d 2 -e 0 -l ./imagenet.txt -s ./classlist.txt -i 1 -c ./stream_config_j11_v2.txt & pid=$! - -{ sleep 3600; kill $pid; } +./tidl_classification -g 1 -d 2 -e 0 -l ./imagenet.txt -s ./classlist.txt -i 1 -c ./stream_config_j11_v2.txt
tidl_apps/tidl_demo_livecam_lg2/runTidlLiveCam_lg2.sh +1 -3
@@ -1,5 +1,3 @@ cd /usr/share/ti/tidl/examples/classification -./tidl_classification -g 2 -d 1 -e 2 -l ./imagenet.txt -s ./classlist.txt -i 1 -c ./stream_config_j11_v2.txt & pid=$! - -{ sleep 3600; kill $pid; } +./tidl_classification -g 2 -d 1 -e 2 -l ./imagenet.txt -s ./classlist.txt -i 1 -c ./stream_config_j11_v2.txt
tidl_apps/tidl_demo_pnexamples/runTidlPnExamples.sh +1 -4
@@ -1,6 +1,3 @@ cd /usr/share/ti/tidl/examples/classification -./tidl_classification -g 2 -d 1 -e 1 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test2.mp4 -c ./stream_config_j11_v2.txt & pid=$! - -{ sleep 3600; kill $pid; } - +./tidl_classification -g 2 -d 1 -e 1 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test2.mp4 -c ./stream_config_j11_v2.txt
tidl_apps/tidl_demo_staticimg/runTidlStaticImg.sh +1 -2
@@ -1,4 +1,3 @@ cd /usr/share/ti/tidl/examples/classification -./tidl_classification -g 1 -d 2 -e 2 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt & pid=$! -{ sleep 3600; kill $pid; } +./tidl_classification -g 1 -d 2 -e 2 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt
tidl_apps/tidl_demo_staticimg_dsponly/runTidlStaticImg_dsponly.sh +1 -2
@@ -1,4 +1,3 @@ cd /usr/share/ti/tidl/examples/classification -./tidl_classification -g 1 -d 2 -e 0 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt & pid=$! -{ sleep 3600; kill $pid; } +./tidl_classification -g 1 -d 2 -e 0 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt
tidl_apps/tidl_demo_staticimg_lg2/runTidlStaticImg_lg2.sh +1 -3
@@ -1,5 +1,3 @@ cd /usr/share/ti/tidl/examples/classification -./tidl_classification -g 2 -d 1 -e 2 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt & pid=$! - -{ sleep 3600; kill $pid; } +./tidl_classification -g 2 -d 1 -e 2 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt
Signature · 1 line
1.9.1
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 tidl_demo*: remove timeout to exit a demo
ACK
-----Original Message-----
From: Gou, Hongmei
Sent: Friday, September 28, 2018 12:19 PM
To: [email protected]
Cc: Gou, Hongmei
Subject: [meta-arago] [matrix-gui-v2-apps] [PATCH] tidl_demo*: remove timeout to exit a demo
* tidl_classification has already mechanism to exit a demo (by right-clicking the main window)
* Avoid the side problem of not returning to the demo HTML page in time after right-clicking the main window before the timeout
--- tidl_apps/tidl_demo_livecam/runTidlLiveCam.sh | 4 +--- tidl_apps/tidl_demo_livecam_lg2/runTidlLiveCam_lg2.sh | 4 +--- tidl_apps/tidl_demo_pnexamples/runTidlPnExamples.sh | 5 +---- tidl_apps/tidl_demo_staticimg/runTidlStaticImg.sh | 3 +-- tidl_apps/tidl_demo_staticimg_dsponly/runTidlStaticImg_dsponly.sh | 3 +-- tidl_apps/tidl_demo_staticimg_lg2/runTidlStaticImg_lg2.sh | 4 +--- 6 files changed, 6 insertions(+), 17 deletions(-)
tidl_apps/tidl_demo_livecam/runTidlLiveCam.sh +1 -3
@@ -1,5 +1,3 @@ cd /usr/share/ti/tidl/examples/classification -./tidl_classification -g 1 -d 2 -e 0 -l ./imagenet.txt -s ./classlist.txt -i 1 -c ./stream_config_j11_v2.txt & pid=$! - -{ sleep 3600; kill $pid; } +./tidl_classification -g 1 -d 2 -e 0 -l ./imagenet.txt -s ./classlist.txt -i 1 -c ./stream_config_j11_v2.txt
tidl_apps/tidl_demo_livecam_lg2/runTidlLiveCam_lg2.sh +1 -3
@@ -1,5 +1,3 @@ cd /usr/share/ti/tidl/examples/classification -./tidl_classification -g 2 -d 1 -e 2 -l ./imagenet.txt -s ./classlist.txt -i 1 -c ./stream_config_j11_v2.txt & pid=$! - -{ sleep 3600; kill $pid; } +./tidl_classification -g 2 -d 1 -e 2 -l ./imagenet.txt -s ./classlist.txt -i 1 -c ./stream_config_j11_v2.txt
tidl_apps/tidl_demo_pnexamples/runTidlPnExamples.sh +1 -4
@@ -1,6 +1,3 @@ cd /usr/share/ti/tidl/examples/classification -./tidl_classification -g 2 -d 1 -e 1 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test2.mp4 -c ./stream_config_j11_v2.txt & pid=$! - -{ sleep 3600; kill $pid; } - +./tidl_classification -g 2 -d 1 -e 1 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test2.mp4 -c ./stream_config_j11_v2.txt
tidl_apps/tidl_demo_staticimg/runTidlStaticImg.sh +1 -2
@@ -1,4 +1,3 @@ cd /usr/share/ti/tidl/examples/classification -./tidl_classification -g 1 -d 2 -e 2 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt & pid=$! -{ sleep 3600; kill $pid; } +./tidl_classification -g 1 -d 2 -e 2 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt
tidl_apps/tidl_demo_staticimg_dsponly/runTidlStaticImg_dsponly.sh +1 -2
@@ -1,4 +1,3 @@ cd /usr/share/ti/tidl/examples/classification -./tidl_classification -g 1 -d 2 -e 0 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt & pid=$! -{ sleep 3600; kill $pid; } +./tidl_classification -g 1 -d 2 -e 0 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt
tidl_apps/tidl_demo_staticimg_lg2/runTidlStaticImg_lg2.sh +1 -3
@@ -1,5 +1,3 @@ cd /usr/share/ti/tidl/examples/classification -./tidl_classification -g 2 -d 1 -e 2 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt & pid=$! - -{ sleep 3600; kill $pid; } +./tidl_classification -g 2 -d 1 -e 2 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt
Signature · 1 line
1.9.1