summaryrefslogtreecommitdiff
path: root/python/openvino/runtime/streaming/runtime_scripts/run_inference_stream.sh
diff options
context:
space:
mode:
Diffstat (limited to 'python/openvino/runtime/streaming/runtime_scripts/run_inference_stream.sh')
-rwxr-xr-xpython/openvino/runtime/streaming/runtime_scripts/run_inference_stream.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/python/openvino/runtime/streaming/runtime_scripts/run_inference_stream.sh b/python/openvino/runtime/streaming/runtime_scripts/run_inference_stream.sh
new file mode 100755
index 0000000..3d14302
--- /dev/null
+++ b/python/openvino/runtime/streaming/runtime_scripts/run_inference_stream.sh
@@ -0,0 +1,14 @@
+#! /bin/sh
+# This script should be run from the /home/root/app folder.
+
+# Set the location of the shared libraries:
+export LD_LIBRARY_PATH=.
+
+# Immediately after startup, a Linux process rngd sometimes
+# runs at 100% CPU for a few minutes. This can be stopped
+# safely as there is no dependency on this
+killall -9 rngd >& /dev/null
+
+# Run the inference app, specifying the compiled model, the architecutre file and the CoreDLA device name
+# nb the model must be compiled with no folding. Use the option --ffolding-option=0 with the dlac compiler
+./streaming_inference_app -model=/home/root/resnet-50-tf/RN50_Performance_no_folding.bin -arch=/home/root/resnet-50-tf/A10_Performance.arch -device=HETERO:FPGA