项目:语义分割DeepLabv3-树莓派4B部署

前提准备

硬件

1、树莓派4B及冷却配件
2、TF卡64GB及读卡器

软件

1、ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img
2、MiniTool Partition Wizard(分区工具 格式化为FAT32)
3、balenaEtcher(镜像烧录工具)

环境搭建

1、首先将18.04LTS烧录至格式化的TF卡中,并在boot分区中加入SSH文件(无后缀)
2、将TF卡插入Pi中,网线与电脑相连
3、arp -a指令得到Pi的IP地址,使用SSH进行连接
4、使用华为云镜像源,支持ARM 64(参考https://blog.csdn.net/qq_40547027/article/details/102817836)
wget -O /etc/apt/sources.list https://repo.huaweicloud.com/repository/conf/Ubuntu-Ports-bionic.list
apt-get update
5、配置XRDP远程控制树莓派
6、下载opencv 4.2.0
7、下载Tensorflow lite
8、下载Code Block C++IDE
9、git clone https://github.com/Qengineering/TensorFlow-Lite-RPi-64-bit-Segmentation
10、run Unettest.cpp

结果

http://www.gump-tech.com.cn/wp-content/uploads/2020/03/TensorFlow-Lite-RPi-64-bit-Segmentation-Result.mp4

项目周期

8天

posted @ 2020-04-07 11:04  Gumpest  阅读(695)  评论(0编辑  收藏  举报