Thanks for pointing this out Daniele. I have updated the samples, and corrected them, and also uploaded a Google Colab with the examples as well to the end of the post as well.

Engineer & Side Project Junkie sharing what I am working on so readers like you can benefit from my experiences. Subscribe here for even more (dylanroy.com)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store