人工机器:jetsonnano推理时出现 Segmentation fault(core dumped)

前期配置:tensorrt+tensorflow+object_detection编译安装填坑教程!!

1.在使用此工程:https://github.com/dusty-nv/jetson-inference 进行目标检测时,Deubg时不能import trt.inference,在console端运行出现 Segmentation fault(core dumped)错误:

原因: 找不到 jetson util的so文件库

添加环境变量到工程 run->  Edit-configurion  

LD_LIBRARY_PATH   为 usr/local/lib

 

2.  在my-detection 同目录下,建立文件夹 networks,把ssd-mobilenet v2 放在networks,解压释放出uff文件。

即可运行

python3 my-detection.py

 

3.运行结果:

耗费三天时间,大致配置成功....

人工机器:jetsonnano推理时出现 Segmentation fault(core dumped)

在console端的运行时间大概为300×300像素图片,120ms每帧。

人工机器:jetsonnano推理时出现 Segmentation fault(core dumped)

在图形界面也差不多时间

人工机器:jetsonnano推理时出现 Segmentation fault(core dumped)

......................