Image classification; MLPerf inference; TFLite CPU; Mobilenets; Raspberry Pi 4; webcam
Component: cr-solution:demo-image-classification-tflite-cpu-mobilenets-rpi4 (v1.5.0)
Added by: gfursin (2019-12-23 14:11:02)
Creation date: 2019-10-25 22:22:37
CID: 1dde4902b05ae08f:6435b0db54876aaccr-solution:demo-image-classification-tflite-cpu-mobilenets-rpi4  )

Sign up here to be notified when new results are reproduced or new CodeReef components are shared!

Related paper: MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications
Related and reproduced results (crowd-experiments): crowd-benchmarking-mlperf-inference-classification-mobilenets
How to get stable CodeReef version (under development):
  pip install codereef
  cr init demo-image-classification-tflite-cpu-mobilenets-rpi4
  cr run demo-image-classification-tflite-cpu-mobilenets-rpi4
  # If benchmarking is supported:
  cr benchmark demo-image-classification-tflite-cpu-mobilenets-rpi4
Portable CK workflow:
  ck run program:image-classification-tflite-codereef --cmd_key=default
Host OS: linux-32 (Raspbian GNU/Linux 10 (buster))
Target OS: linux-32 (Raspbian GNU/Linux 10 (buster))
Target machine: Raspberry (Raspberry Pi 4 Model B Rev 1.1)
Target CPU: BCM2835
Target CPUs:
Target GPU:
Python version for virtual env: 3.7.3

Test CodeReef workflow in your browser via CodeReef client

CodeReef client connection
cr start


Dependencies on other components

Prerequisites for further automation:
   This CodeReef solution demo was prepared by Grigori Fursin and Hervé Guillou (CodeReef).
   Requred Ubuntu packages:
    sudo apt update
    sudo apt install git wget libz-dev curl cmake
    sudo apt install gcc g++ autoconf autogen libtool
   For OpenCV:
    sudo apt install python-opencv
    sudo apt install libatlas-base-dev
    sudo apt install libjasper-dev
    sudo apt install libhdf5-dev
    sudo apt install libhdf5-serial-dev
    sudo apt install libqtgui4 
    sudo apt install libqt4-test

pip install numpy pip install opencv-python ck pull repo:ck-mlperf ck install package --tags=lib,python-package,numpy ck install package --tags=lib,python-package,cv2 ck install package:imagenet-2012-val-min ck install package:imagenet-2012-aux ck install package:lib-rtl-xopenme ck install package:dataset-imagenet-preprocessed-using-opencv ck install package --tags=lib,tflite,v1.13.1,vsrc ck install package:model-tf-mlperf-mobilenet-quantized ck compile program:image-classification-tflite-codereef --speed

All versions:

All files (click to download):

Public comments

    Please log in to add your comment!

If you notice inapropriate content that should not be here, please report us as soon as possible and we will try to remove it within 48 hours!