This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
大家好、
感谢您对我所面临的以下问题的支持。
我的目标是按照 TI edgeeai-tidl-tools repo (https://github.com/TexasInstruments/edgeai-tidl-tools)的说明为 OSRT 推理生成示例模型工件
1.我已在本机 Ubuntu 18.04上尝试/测试的内容:
Git 克隆 https://github.com/TexasInstruments/edgeai-tidl-tools.git
导出设备=J7
导出 TIDL_TOOLS_PATH=/home/yeverino/documents/git/fordos_tilinux64_host/fnv4vx/tiovx/tiovxSdk/tidl_j721e_08_02_00_11/tidl_tools
cd edgeeai-tiddl-tools 源代码
setup.sh ./scripts/run_python_examples.sh
2.我得到了这个错误:
ValueError:无法加载库 libvx_tidl_rt.so
ValueError:无法从/home/yeverino/documents/git/fordos_tilinux64_host/fnv4vx/tiovx/tiovx/tiovxSdk/tidl_j721e_08_02_00_11/tidl_tools/tidl_model_import_tflite.so 加载委派
无法加载库 libvx_tidl_rt.so
注意:我确认了库存在于 TIDL_TOOLS_PATH 中、并为 PC x86_64 Linux 生成。
如何解决此问题?
提前感谢。
尊敬的 Carlos:
是否可以确保设置了 setup.sh 脚本导出的其他环境变量? 尤其是在 LD_LIBRARY_PATH 设置为 TIDL_TOOLS_PATH 时?
此致、
Takuma
你好、Takuma、
我能够通过以下操作解决此问题:
1.使用以下内容创建脚本./scripts/edgeai_tids_tools_setup.sh:
sudo apt-get 更新
sudo apt-get install -y graphviz
sudo apt-get install -y python3.6
sudo apt-get install -y python3-venv
sudo apt-get install -y protobuf-编译器
python3.6 -m ven./venv
。 /venv/bin/activate
PIP 安装胶粘
PIP 安装车轮
PIP 安装 skbuild
Git 克隆 github.com/.../edgeai-tidl-tools.git -c .
cd edgeeai-tidl-tools
导出设备=J7
PWD
导出 TIDL_TOOLS_PATH=$(realpath ../tiovx/tiovxSdk/tidl_j721e_08_02_00_11/tidl_tools/)
2.在控制台中运行以下命令
源./scripts/edgeai_tids_tools_setup.sh
资料来源:setup.sh
./scripts/run_python_examples.sh
此致、
Carlos Yeverino