-
Notifications
You must be signed in to change notification settings - Fork 10
Cookbook running the jupyter notebook with my own data
Frank Haverland edited this page Jun 4, 2023
·
1 revision
First you need your own data. There's an tool to download and label it easily.
pip install git+https://github.com/haverland/collectmeterdigits
pip install -r requirements.txt
pip install tensorflow
python3 -m collectmeterdigits --collect=<devicename or ip> --days=3
Sort out all images as asked and relabel it. More details on https://github.com/haverland/collectmeterdigits
git clone haverland/Tenth-of-step-of-a-meter-digit
add my curated images in the collected/powermeter/emeter_c26 folder
pip install -r requirements.txt
jupyter notebook dig_class100-s2.ipynb
Click the play button until the end (or click the "double right arrow" to play it all at once).
It takes a while and while the notebook is running, the browser tab will show an hourglass.
At the end, I took the tflite generated in the output folder, uploaded it on my ai-on-the-edge device, changed the config to use it.