Skip to content

Instantly share code, notes, and snippets.

View danielbank's full-sized avatar
🇵🇼
Alii! Ke ua ngerang?

Daniel Bank danielbank

🇵🇼
Alii! Ke ua ngerang?
View GitHub Profile
@danielbank
danielbank / notes.md
Last active August 19, 2020 18:44
TensorFlow MNIST on PyGamer

a bare minimum pygamer repo, you would just clone or download this and rename so people arent stuck inside the atsamd repo https://github.com/jacobrosenthal/pygamer-quickstart

Also take a look at this branch at your leisure to understand how usb and rtic and neopixels can work together, I tried to make an rtic version of each example so you could build up an understanding https://github.com/jacobrosenthal/atsamd/commit/be749d0f763222cc41070765fc8ca2d6bfc4b7b0

this is so I can give you usb tensorflow version next. really the only way to do safe concurrent programming on no STD atm

Concurrency. You cant keep a USB connection unless you constantly poll it. But you can't poll while doing inference Yes. So we can have logging of training data etc

@danielbank
danielbank / package.json
Created August 1, 2020 22:29 — forked from adamreisnz/package.json
Simple pure npm scripts build process
{
"name": "project-name",
"description": "Template for static sites",
"version": "1.0.0",
"homepage": "http://www.project-name.com",
"author": {
"name": "Adam Reis",
"url": "http://adam.reis.nz"
},
"license": "UNLICENSED",
@danielbank
danielbank / package.json
Created August 1, 2020 22:29 — forked from adamreisnz/package.json
Simple pure npm scripts build process
{
"name": "project-name",
"description": "Template for static sites",
"version": "1.0.0",
"homepage": "http://www.project-name.com",
"author": {
"name": "Adam Reis",
"url": "http://adam.reis.nz"
},
"license": "UNLICENSED",
@danielbank
danielbank / flash.md
Last active January 13, 2020 03:40
NRF Workshop
@danielbank
danielbank / offline-ml-with-rust.md
Last active October 26, 2019 08:26
Offline ML with Rust

Cross Build the App

cd ~/workspace/offline-ml

cross build --release --target=armv7-unknown-linux-gnueabihf

cd target/armv7-unknown-linux-gnueabihf/release

@danielbank
danielbank / tensorflow-lite-workshop-win.md
Last active January 14, 2020 06:40
TensorFlow Lite Workshop (Windows)
@danielbank
danielbank / tensorflow-lite-workshop-mac.md
Last active September 28, 2019 21:04
TensorFlow Lite Workshop (Mac)
@danielbank
danielbank / tensorflow-lite-workshop.md
Last active September 30, 2019 16:42
TensorFlow Lite Notes
@danielbank
danielbank / wifi-on-pi-without-peripherals.md
Last active September 22, 2019 02:21
Setup WiFi on Raspberry Pi without Peripherals

Steps

  • Go to the boot drive: cd /Volumes/boot
  • Create the two files on the boot drive: touch wpa_supplicant.conf && touch ssh
  • Edit wpa_supplicant.conf
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
@danielbank
danielbank / rust-on-pi.md
Last active September 11, 2019 23:57
Cross Compiling Rust to Your Pi

Cross Compiling Rust to Your Pi

Why Cross-Compile?

  • It's faster to build your code on your laptop than the Pi

  • It's not always possible to build on a Pi:

# On the Pi Zero