Skip to content

Instantly share code, notes, and snippets.

@danielbank
Last active September 28, 2019 21:04
Show Gist options
  • Select an option

  • Save danielbank/e973ce005dff36d8197aab20af9d1ca0 to your computer and use it in GitHub Desktop.

Select an option

Save danielbank/e973ce005dff36d8197aab20af9d1ca0 to your computer and use it in GitHub Desktop.
TensorFlow Lite Workshop (Mac)

Mac

Workshop Link

Prereqs:

  • Git (check if this is installed by typing git at the command line)

  • Python 3 (check if this is installed by typing python3 or python --version at the command line)

  • Pip for Python 3 (helpful StackOverflow answer)

  • Make 4.2.1 or higher (check if this is installed by running make --version)

Python 3 Setup

  • sudo pip install --upgrade virtualenvwrapper

  • pip3 install pycrypto pyserial

Make Setup

  • Brew install Make: brew install make --with-default-names

  • Add following to .bash_profile, .bashrc, .zshrc, or whatever you use:

PATH="$(brew --prefix)/opt/make/libexec/gnubin:$PATH"

Flash Setup

Flash Reference Links

Flash Setup Troubleshooting (if installing the driver doesn't work)

  • Mac OSX v10.9+: cd /Library/Extensions

  • Mac OSX v10.8 and below: cd /System/Library/Extensions

  • Remove the files:

sudo rm -rf usb.kext
sudo rm -rf usbserial.kext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment