Caching Deep Learning Models with TensorFlow, Keras and PTMLib

Save Machine Learning models, time, and energy (and maybe even the planet)

I’ve noticed when going through lengthy ML tutorials for Keras and TensorFlow that I often run the same models repeatedly in Jupyter Notebook, regardless of the fact they have no changes. This is natural for me with a notebook with multiple models. I also find that typing the code into a new notebook, rather than just clicking Shift + Enter, aids my understanding and retention of what I have learned.

Continue reading “Caching Deep Learning Models with TensorFlow, Keras and PTMLib”

How to Install OpenCV for Python on a Raspberry Pi

Computer Vision isn’t just for GPU-powered desktops. Using OpenCV and Python on a Raspberry Pi equipped with a Camera Module, you can program and deploy amazing solutions including motion detection.

As I discovered personally, installing the correct libraries for OpenCV and Python for this task can be challenging. Here are the steps I used to get it working.

Continue reading “How to Install OpenCV for Python on a Raspberry Pi”

Xandly5 – Generate Lyrics with Deep Learning and Natural Language Processing

Xandly5 is a lyrics generator powered by Natural Language Processing (NLP) and the Keras and TensorFlow frameworks. Deep Learning models are trained on separate collections…

Continue reading “Xandly5 – Generate Lyrics with Deep Learning and Natural Language Processing”