Author: birosjh

  • Why You Should Always Visual A Batch From Your Data Loader

    Here is one thing that every engineer working with AI hears at some point: Garbage In, Garbage Out However, despite that, something that I still see often enough in the Computer Vision industry and no doubt affects other machine learning disciplines as well is a complete lack of checking what is coming out of the…

  • Einops: Making Life Bit Easier (Mostly)

    When working in PyTorch, you are often faced with the need to manipulate tensors of multiple dimensions into various shapes or maybe combine dimensions together.  There’s a wealth of functions specifically for that too.  To name a few, view, permutate, stack, tile, and concat are some of the most common ones, but the list goes…

  • Oh, So There Are C++ Package Managers?

    I know I have beaten this topic up a little bit in a previous post, but when coming from a language like Python, you really get comfortable with the idea of just using pip to install all of your modules.  Need PyTorch?  Just run pip install torch and you can use it as soon as…

  • CMake Prerequisite Knowledge for Developers Transitioning to C++

    If you are like me and you come from coming to C++ from a background where you haven’t really used C++ before, the first thing you might notice is that dependency management is chaos.  In Python, you just run pip install and in JavaScript you can simply use npm, and then (hopefully) it just works. …

  • Using YAML Files to Store Configurations for Your C++ ML Projects

    Anyone who’s been in ML for a while has had the pleasure of setting up a model only to realize that model parameters need to be passed as flags, but oh wait, there are a million parameters that need setting.  Soon after, you typically realize that you could just put all those parameters in a…

  • A Potential “Gotcha” When Building Your Own YOLOv3

    For anyone interested in computer vision, you’ve probably thought about, attempted or accomplished building your own object detection network before.  It’s a good challenge after getting comfortable with a deep learning library and wrapping your head around classification models. One great choice for your first attempt at building an object detection model is YOLOv3.  It…

  • Computer Vision: How Your Laptop Sees Things

    You may have already noticed it, but in this day and age computers being able to understand images is a wide spread concept.  When you open your photo album app and search for “baby kittens”, somehow the computer magically knows you are looking for adorable little furballs instead of last night’s dinner or whatever else…

  • Setting up Libtorch in a Simple Docker Environment

    So, you know how last time I said I wasn’t going to cover setting up Libtorch because of cmake in my last post? Well, I decided that was unfair so here is a post on how to get started using Libtorch in a virtual environment that you should be able to reuse as you develop…

  • Getting Started with Libtorch

    In the interest of getting as many readers as fast as possible, for the first post on this blog, I’m going to jump straight into the most exciting topic I can think of: C++. Sorry, not sorry. In the future, I’ll be writing about everything from computer perception and machine learning to more general software…

en_USEnglish