/edgetpuxray

Enabling tinygrad compatibility with the Google Edge TPU

Primary LanguageC++

Use your Google Coral USB stick from PYTHON AND ONLY PYTHON

DO NOT RUN build.sh, for taylor only. u use connect.py

== Getting Extra File ==

# firmware
wget https://github.com/google-coral/libedgetpu/raw/efb73cc94dac29dc590a243109d4654c223e008c/driver/usb/apex_latest_single_ep.bin

# model
wget https://github.com/google-coral/test_data/raw/c21de4450f88a20ac5968628d375787745932a5a/inception_v4_299_quant_edgetpu.tflite

# labels
wget https://github.com/google-coral/test_data/raw/c21de4450f88a20ac5968628d375787745932a5a/imagenet_labels.txt

== Running with Banana (u can run with other image too) ==

./connect.py https://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Bananas.jpg/1600px-Bananas.jpg

== Running with tflite ==

# must use tf version a4dfb8d1a71385bd6d122e4f27f86dcebb96712d
wget https://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Bananas.jpg/1600px-Bananas.jpg
./read.py 1600px-Bananas.jpg
mkdir -p data && mv 1600px-Bananas.dat data/banana.dat
./build.sh