Openvino 脚本文件自启动(Ubuntu SYS) Debug

the reason which the nuc can’t run the program after reboot.
the computer sources can’t get the dynamic link library because of the direct of the Openvino installation
就是 source 不到 lib

~/intel/openvino_2021/deployment_tools/inference_engine/external/tbb/lib/
~/intel/openvino_2021/deployment_tools/inference_engine/lib/intel64/
~/intel/openvino_2021/deployment_tools/ngraph/lib/

Terms of settlement(解决办法)

Option One

find and add the path of the lib at the end of the ~/.bashrc

sudo gedit ~/.bashrc
openvino_lib_path=~/intel/openvino_2021/deployment_tools/inference_engine/external/tbb/lib/
openvino_lib_path=$openvino_lib_path:~/intel/openvino_2021/deployment_tools/inference_engine/lib/intel64/
openvino_lib_path=$openvino_lib_path:~/intel/openvino_2021/deployment_tools/ngraph/lib/
export LD_LIBRARY_PATH=$openvino_lib_path

在这里插入图片描述
and then

source ~/.bashrc

Other option ,you can add them in the restart script starding
在这里插入图片描述

Option Two

The above three documents which also can be replaced like in the .bashrc

  • home path
source /home/username/intel/openvino_2021/bin/setupvars.sh
  • root path
source /opt/intel/openvino_2021/bin/setupvars.sh

Boot restart program(EASY)

Open a new Terminal (Ctrl + alt + t)

gnome-session-properties

Click Add option and create an option
gcusms
Name:custom(自定义)
Common :

gnome-terminal -x bash -c xxxx.sh

Comment:custom(自定义)
and then Save
Open a new Terminal (Ctrl + alt + t)

reboot

Autor :Gcu Sms
github:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值