diff options
| author | Eric Dao <eric@erickhangdao.com> | 2025-03-10 17:54:31 -0400 |
|---|---|---|
| committer | Eric Dao <eric@erickhangdao.com> | 2025-03-10 17:54:31 -0400 |
| commit | ab224e2e6ba65f5a369ec392f99cd8845ad06c98 (patch) | |
| tree | a1e757e9341863ed52b8ad4c5a1c45933aab9da4 /python/openvino/run_inference.sh | |
| parent | 40da1752f2c8639186b72f6838aa415e854d0b1d (diff) | |
| download | thesis-master.tar.gz thesis-master.tar.bz2 thesis-master.zip | |
Diffstat (limited to 'python/openvino/run_inference.sh')
| -rwxr-xr-x | python/openvino/run_inference.sh | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/python/openvino/run_inference.sh b/python/openvino/run_inference.sh new file mode 100755 index 0000000..a7f31fa --- /dev/null +++ b/python/openvino/run_inference.sh @@ -0,0 +1,41 @@ +modeldir=$COREDLA_WORK/demo/models +imagedir=$COREDLA_WORK/demo/sample_images +curarch=/home/ekd/ekd_research/pet_reconstruction/python/openvino/demo/models/architectures/agx7_area.arch + +cd $COREDLA_WORK/runtime/build_Release/dla_benchmark + +./dla_benchmark \ + -b 1 `# Run only a single image` \ + -niter 1 `# Run only a single image` \ + -nireq 1 `# Running emulator: so -nireq=1` \ + -m $modeldir/model_bmp.xml \ + `# Same as when running on hardware - specify the graph` \ + -d HETERO:CPU \ + `# Same as when running on hardware - \ + use FPGA if possible, fallback to CPU` \ + -i $imagedir \ + `# Same as when running on hardware - specify image directory` \ + -arch_file $curarch \ + `# Same as when running on hardware - specify .arch file` \ + -dump_output \ + `# Dump output result.txt file` \ + -plugins emulation \ + `# Use the software emulator` \ + +# ./dla_benchmark \ +# -b 1 `# Run only a single image` \ +# -niter 1 `# Run only a single image` \ +# -nireq 1 `# Running emulator: so -nireq=1` \ +# -cm $COREDLA_WORK/demo/models/model_bmp_de5a_area.bin \ +# `# Same as when running on hardware - specify the graph` \ +# -d HETERO:FPGA \ +# `# Same as when running on hardware - \ +# use FPGA if possible, fallback to CPU` \ +# -i $imagedir \ +# `# Same as when running on hardware - specify image directory` \ +# -arch_file $curarch \ +# `# Same as when running on hardware - specify .arch file` \ +# -dump_output \ +# `# Dump output result.txt file` \ +# -plugins emulation \ +# `# Use the software emulator` \
\ No newline at end of file |
