Category: Machine Learning

  • 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 […]

  • 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 […]

  • Tensorflow not detecting GPU

    Tensorflow not detecting GPU

    If TensorFlow doesn’t detect your GPU, it will default to the CPU, which means when doing heavy training jobs, these will take a really long time to complete. This is most likely because the CUDA and CuDNN drivers are not being correctly detected in your system. I am assuming that you have already installed Tensorflow […]

  • Reducing 90% in costs with Spot VMs for Machine Learning on Google Kubernetes Engine in GCP

    Reducing 90% in costs with Spot VMs for Machine Learning on Google Kubernetes Engine in GCP

    When running big machine learning training jobs using neural networks, you need a GPU. And let’s be honest, GPUs are expensive and hard to get nowadays with the chip shortage! So it is unlikely that you will have plenty of spare GPUs lying around. This is why it makes sense to rent GPUs on the […]

  • How to crop and resize an image using Tensorflow.js tf.image.cropAndResize

    How to crop and resize an image using Tensorflow.js tf.image.cropAndResize

    This is a quick post to show how you can use tf.image.cropAndResize to crop and resize an image to a square using the function tf.image.cropAndResize. This function was created for a specific purpose to cutout the bounding boxes given by a face detection algorithm. But you can use it for other purposes too! Your image […]

  • A tutorial on how to convert a Tensorflow model to Tensorflow.js

    A tutorial on how to convert a Tensorflow model to Tensorflow.js

    In this article, I will take you through the steps that are needed to convert any model in Tensorflow Hub to Tensorflow.JS format, and how you can quickly make a simple interactive page that you can host on any web server on the internet. I am only scratching the surface of what is possible. More […]

  • Real-time Fast Style Transfer model with Tensorflow.js and Next.js in the Browser

    Real-time Fast Style Transfer model with Tensorflow.js and Next.js in the Browser

    I wanted to share a project that I have been working on using Next.js and React. My challenge was to create an interactive component using React/Next.JS that anyone could try from a browser to play with the Fast Style Transfer model in real-time, via a web camera all within the browser. Let’s just say that […]

  • Creating my own image dataset for Tensorflow with CVAT

    Creating my own image dataset for Tensorflow with CVAT

    So, I have created a Raspberry PI wildlife camera, but it has a big cat issue! Or shall I say, a big dog issue?! The Tensorflow model I am using mistakes everything for a dog. A fox, a cat, a person, and some sunshine can all be mistaken for a dog.  So I have to do […]

  • From a 2D Photo to a 3D Model with Nvidia Ganverse3D with Nvidia Omniverse Create

    From a 2D Photo to a 3D Model with Nvidia Ganverse3D with Nvidia Omniverse Create

    Remember that a few months ago I talked about a new ground-breaking application, yet to be released, from Nvidia Research Labs, called GanVerse3D, capable of rendering 3D models with texture from 2D photos?  Not only that, GanVerse3D was also supposed to be capable of animating the 3D model at a click of a button. Yes, […]

  • Designing a Deep Learning PC with an RTX 3090

    Designing a Deep Learning PC with an RTX 3090

    Today’s article is a direct response to a viewer of this channel who asked for some help in completing their build for their new Deep Learning PC.  The viewer is the lucky owner of an RTX 3090! To get this graphics card, in the current market, it’s a steep investment! When you spend this much […]