Year: 2022

  • What computer for Machine Learning and MLOps

    What computer for Machine Learning and MLOps

    You are new to machine learning and you want to know what kind of computer, either a laptop or a PC you need for working in machine learning.  The short answer is that you can buy or use any old banger laptop and you can learn machine learning by using free services like Google Colab. It […]

  • Visualizing a neural network in 3D with Python, Blender and Tensorflow

    Visualizing a neural network in 3D with Python, Blender and Tensorflow

    I have started recently a new project in which I am trying to visualize a neural network in 3D with Python, Blender and Tensorflow. This is a very interesting challenge and a great way to learn things that I didn’t know I needed to know. For example how to get access to the different layers […]

  • Convert a photo from 2D to 3D model with color with PIFu

    Convert a photo from 2D to 3D model with color with PIFu

    This is a short tutorial on how you can convert and train Pifu to convert a 2D photo to a 3D Model with color. Pifu is the predecessor to PIFuHD.  PIFU in theory can be trained to create 3D Models for any type of object, not just humans, but of course, you will need to […]

  • Google Dataflow Secure Quickstart with Python

    Google Dataflow Secure Quickstart with Python

    In this step-by-step guide I will share the additional steps that I followed to enable Google Dataflow with the least permissions needed, with Google KMS Encryption enabled, and all the necessary service accounts, that one would be expected to employ in a secure production deployment. I will base this guide on the already existing GCP […]

  • PHORHUM: From a 2D photo to 3D animated model by Google

    PHORHUM: From a 2D photo to 3D animated model by Google

    Google has released a paper on a new state-of-the-art machine learning model, called PHORHUM, that is able to create a 3D model from a single 2D photo, with texture disentangled from the lighting source in the photo. There is only one bad news. Google hasn’t yet released source code or a demo for anyone to […]

  • Cloud SQL: High Availability, and Disaster Recovery in Google Cloud for PostgreSQL

    Cloud SQL: High Availability, and Disaster Recovery in Google Cloud for PostgreSQL

    Google Cloud SQL comes with out-of-the-box functionality that meets the most strict requirements out there for high availability, scalability, and disaster recovery.I will be going through these features at a high level, and as a bonus at the end, I will show you how you can easily create a Cloud SQL instance with high availability […]

  • Imagen: Text-To-Image AI From Google

    Imagen: Text-To-Image AI From Google

    Google has taken AI-generated images to a new level with Imagen.  Imagen is a new state-of-the-art text-to-image diffusion model capable of generating highly realistic images given text input. It uses a very powerful language model, T5–XXL a language model with 4.6 billion of parameters trained on a huge text-only dataset.  This new model is not […]

  • How to publish a docker image to Google Container Registry

    How to publish a docker image to Google Container Registry

    In this short article, I list the steps you need to follow in order to publish a Docker image to the Google Container Registry(GCR) in the Google Cloud Platform. Pre-requisites Docker installed GCloud SDK User or service account with access required to push to GCR. Steps to push docker image to GCR Create Dockerfile In […]

  • Google App Engine vs AWS

    Google App Engine vs AWS

    Google App Engine is a fully managed serverless platform, which requires zero server management to use. It comes with two environments: The standard environment allows an instance to run in the sandbox with supported language, it has limited CPU and memory options without persistent disk attached, moreover it doesn’t support SSH and VPN 🥺 . Sounds pretty disappointing […]

  • How to resize an image with Tensorflow tf.image.resize()

    How to resize an image with Tensorflow tf.image.resize()

    When dealing with training data, you often need to resize images to a fixed size, according to the architecture of the machine learning model that you want to use. In Tensorflow we can use tf.image.resize() to resize images to different resolutions. The method controls the different algorithms that we can use for resizing. You can […]