Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Detectron2-on-Raspberry-Pi

Steps to install Detectron2 on Raspberry Pi

1- Install PyTorch dependencies first

$ sudo apt update
$ sudo apt install libopenblas-dev libblas-dev m4 cmake cython python3-dev python3-yaml python3-setuptools python3-wheel python3-pillow python3-numpy
$ sudo apt install libatlas3-base
$ sudo pip3 install numpy
$ python3 -m pip install Pillow

2- Download torch and torchvision wheel files

3- Install torch and torchvision wheel files

$ pip3 install torch-1.5.0a0%2B4ff3872-cp37-cp37m-linux_armv7l.whl
$ pip3 install torchvision-0.6.0a0%2Bb68adc

4- Build Detectron2 from Source

$ git clone https://github.com/facebookresearch/detectron2.git
$ python -m pip install -e detectron2

If you face "matplotlib.cbook.TimeoutError: LOCKERROR" while importing matplotlib

$ rm -r /home/pi/.cache/matplotlib
  • ¯\_(ツ)_/¯

About

Steps to install Detectron2 on Raspberry Pi

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors