<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Miguel Méndez on Medium]]></title>
        <description><![CDATA[Stories by Miguel Méndez on Medium]]></description>
        <link>https://medium.com/@miguelmendez_?source=rss-7599e6bca0bd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GcLUIZxw2gVkMBB4rQzQrA.jpeg</url>
            <title>Stories by Miguel Méndez on Medium</title>
            <link>https://medium.com/@miguelmendez_?source=rss-7599e6bca0bd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 14:26:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@miguelmendez_/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Managing Multiple GitHub Accounts with SSH]]></title>
            <link>https://medium.com/@miguelmendez_/managing-multiple-github-accounts-with-ssh-9a986d3baf27?source=rss-7599e6bca0bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a986d3baf27</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ssh]]></category>
            <dc:creator><![CDATA[Miguel Méndez]]></dc:creator>
            <pubDate>Thu, 20 Feb 2025 14:59:07 GMT</pubDate>
            <atom:updated>2025-02-20T14:59:07.876Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8S2fUlfwDNywGfVBQ0I0RA.png" /></figure><p>Each time I change my laptop, I spend at least an hour configuring permissions for my GitHub accounts. Most people probably don’t have this problem, but I need a separate account for work and another for my personal projects. So this is a quick guide that I hope will at least help me in the future to do this without spending so much time searching for how to do it… (<a href="https://miguel-mendez-ai.com/2025/02/19/configure-multiple-ssh-keys-git">read more</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a986d3baf27" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LLM Preference Alignment]]></title>
            <link>https://medium.com/@miguelmendez_/llm-preference-alignment-67758cb6dc6b?source=rss-7599e6bca0bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/67758cb6dc6b</guid>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[language-model]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[reinforcement-learning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Miguel Méndez]]></dc:creator>
            <pubDate>Wed, 08 Jan 2025 12:18:41 GMT</pubDate>
            <atom:updated>2025-01-08T12:18:41.964Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OgFWLfRIDPS6YotjdQ5V5w.jpeg" /></figure><p>I am trying to keep myself updated with the LLM literature and recently found an interesting course from HuggingFace that covers a practical introduction to LLM alignment. It is very useful because the course is designed so you can run everything on your machine with minimal hardware requirements. After checking some of the content, I started going into a loop of papers, blog posts, and documentation. So, I decided to start writing this post to use as notes in the future. I hope anyone else finds it useful too… (<a href="https://miguel-mendez-ai.com/2025/01/07/preference-alignment">read more</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67758cb6dc6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Image Normalization: Comparing CPU vs GPU Performance in Pytorch]]></title>
            <link>https://medium.com/@miguelmendez_/image-normalization-comparing-cpu-vs-gpu-performance-in-pytorch-e172ce7ae0ac?source=rss-7599e6bca0bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/e172ce7ae0ac</guid>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[pytorch]]></category>
            <dc:creator><![CDATA[Miguel Méndez]]></dc:creator>
            <pubDate>Mon, 09 Dec 2024 20:01:49 GMT</pubDate>
            <atom:updated>2024-12-09T20:01:49.081Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*90ekKJniWnFccSa3TFx0Vw.png" /></figure><p>This post has been on my to-do list for a long time, and I’m excited to finally have the time to write it. This topic is particularly interesting to me, and I hope you find it useful.</p><p>It all started while I was testing some of our internal data preprocessing pipelines and began thinking about the performance of the normalization step. Image normalization is a straightforward process: subtract the mean and divide by the standard deviation. These operations are well-suited for parallel processing, which is where GPUs excel. However, factors like data types and data transfer between the CPU and GPU also play a significant role.</p><p>My goal is to compare the performance differences between CPU and GPU for image normalization and explore the impact of data types and data transfer. Let’s get started! … <a href="https://t.co/teZMlArHgY">read more</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e172ce7ae0ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Concurrent Requests in Python: httpx vs aiohttp]]></title>
            <link>https://medium.com/@miguelmendez_/concurrent-requests-in-python-httpx-vs-aiohttp-15ded23cf20c?source=rss-7599e6bca0bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/15ded23cf20c</guid>
            <category><![CDATA[concurrency]]></category>
            <category><![CDATA[http-client]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Miguel Méndez]]></dc:creator>
            <pubDate>Thu, 24 Oct 2024 13:54:02 GMT</pubDate>
            <atom:updated>2024-10-24T13:54:02.560Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*8Ukyiiamdcj1UWPW.jpg" /></figure><p>Over the past couple of weeks, I encountered a tricky bug while working on a computer vision application. After spending time troubleshooting, I decide to write this post since it might help other people to avoid the same issue… (<a href="https://miguel-mendez-ai.com/2024/10/20/aiohttp-vs-httpx">read more</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15ded23cf20c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding MOT Metrics]]></title>
            <link>https://medium.com/@miguelmendez_/understanding-mot-metrics-ecaccbb624b0?source=rss-7599e6bca0bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecaccbb624b0</guid>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[tracking]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Miguel Méndez]]></dc:creator>
            <pubDate>Sun, 01 Sep 2024 10:25:44 GMT</pubDate>
            <atom:updated>2024-09-01T10:25:44.842Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*AVAIIkvwenz2pzuk.jpg" /></figure><p>After a long time, I have finally sat down to write this blog post on tracking metrics. It builds on my last post about <a href="https://miguel-mendez-ai.com/2023/11/08/tracking-by-detection-overview">tracking by detection </a>and explores how we measure tracking performance.</p><p>In this article, I’ll provide an introduction to tracking metrics, starting from the basic principles and breaking down the key differences between various metrics. I’ll focus on three popular metrics: MOTA, IDF1, and HOTA, which are widely used in the Multi-Object Tracking (MOT) community. Understanding these is crucial because the choice of metric can significantly impact how we interpret a tracker’s performance… (<a href="https://miguel-mendez-ai.com/2024/08/25/mot-tracking-metrics">read more</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecaccbb624b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Guide to Horizontal Pod Autoscaler]]></title>
            <link>https://medium.com/@miguelmendez_/a-guide-to-horizontal-pod-autoscaler-957fb1de6e55?source=rss-7599e6bca0bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/957fb1de6e55</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[scalability]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Miguel Méndez]]></dc:creator>
            <pubDate>Tue, 30 Apr 2024 07:32:50 GMT</pubDate>
            <atom:updated>2024-04-30T07:32:50.633Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JBCGFaphd9uPxTQnn5Y8IQ.jpeg" /></figure><p>A few weeks ago, while reviewing service metrics in Grafana, I noticed some unexpected behavior in one of our services — there were more pods than necessary given the current traffic load. This led me to uncover that the extra pods were spawned by the Horizontal Pod Autoscaler (HPA) based on the metrics we had configured (a while ago). Understanding HPA took me a few hours. This is a task typically handled by specialized teams in larger companies, but working at a startup forces you to wear many hats and I often find myself analyzing how models perform in production. In this post, I’ll discuss the issues I encountered with HPA and demonstrate how a simple visualization tool can help anticipate the number of replicas needed… (<a href="https://miguel-mendez-ai.com/2024/04/28/kubernetes-horizontal-pod-autoscaler-guide">read more</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=957fb1de6e55" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Transformer-Based Methods in Video Instance Segmentation]]></title>
            <link>https://medium.com/@miguelmendez_/exploring-transformer-based-methods-in-video-instance-segmentation-fd29bea75d6d?source=rss-7599e6bca0bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd29bea75d6d</guid>
            <category><![CDATA[segmentation]]></category>
            <category><![CDATA[transformers]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <dc:creator><![CDATA[Miguel Méndez]]></dc:creator>
            <pubDate>Wed, 17 Apr 2024 17:55:22 GMT</pubDate>
            <atom:updated>2024-04-17T17:55:22.631Z</atom:updated>
            <content:encoded><![CDATA[<p>A comparison of the latest research and innovations in Video Instance Segmentation</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u7Q7gJGTOXFtbx3shI91tg.jpeg" /></figure><p>I had recently visited the most recent literature on Video Segmentation and I was startled by how lost I found myself. If you are versed in this field, you are probably familiar with terms such as SVOS, UVOS, VIS, Zero-Shot, One-Shot, etc. If you are not, then you will probably find yourself as lost as I was a few weeks ago… <a href="https://miguel-mendez-ai.com/2024/04/15/video-segmentation">read more</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd29bea75d6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building an Efficient Docker Image with Poetry and PyTorch]]></title>
            <link>https://medium.com/@miguelmendez_/building-an-efficient-docker-image-with-poetry-and-pytorch-5a5103a12c3a?source=rss-7599e6bca0bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a5103a12c3a</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[pytorch]]></category>
            <dc:creator><![CDATA[Miguel Méndez]]></dc:creator>
            <pubDate>Tue, 12 Mar 2024 09:17:46 GMT</pubDate>
            <atom:updated>2024-03-21T14:39:23.717Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ghLRg3kTF7OZYokU8CCVqA.jpeg" /></figure><p>The goal of this post is straightforward: to guide you through the creation of a Docker image equipped with Poetry for dependency management and Torch for running deep learning models, specifically utilizing Python 3.11. While the task may seem simple at first glance, it involves several tricks that I believe can be very useful to share. This guide will utilize Docker Buildx, a powerful feature that might be unfamiliar to some, yet it is enabled by default in newer Docker releases… <a href="https://miguel-mendez-ai.com/2024/03/12/poetry-torch-docker">read more</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a5103a12c3a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NFL Field Mapping: A Journey Through Sports Analytics and Homography]]></title>
            <link>https://medium.com/@miguelmendez_/nfl-field-mapping-a-journey-through-sports-analytics-and-homography-ca38e1b1442c?source=rss-7599e6bca0bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca38e1b1442c</guid>
            <category><![CDATA[sports-analytics]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nfl]]></category>
            <dc:creator><![CDATA[Miguel Méndez]]></dc:creator>
            <pubDate>Wed, 07 Feb 2024 18:53:56 GMT</pubDate>
            <atom:updated>2024-03-21T14:40:01.192Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jykt1T8nG8UnKpiD6p9grg.jpeg" /></figure><p>I have been working in sports analytics for 2 years now. I am mainly focusing on the computer vision side of things but saying “sports analytics” is a good way to make it sound more interesting. My goal is simple: extract as much information as possible from sports event video feeds and ensure the data is high-quality. In order to achieve this, I must be able to pinpoint the real world location of the objects observed in the video feed. In other words, map pixels in the video feed to real world coordinates. That mapping is what I refer to as homography… <a href="https://miguel-mendez-ai.com/2024/02/07/nfl-field-mapping">read more</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca38e1b1442c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying MLFlow in AWS with Terraform]]></title>
            <link>https://medium.com/@miguelmendez_/deploying-mlflow-in-aws-with-terraform-5e74aeff696d?source=rss-7599e6bca0bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e74aeff696d</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[mlflow]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Miguel Méndez]]></dc:creator>
            <pubDate>Thu, 07 Dec 2023 12:03:13 GMT</pubDate>
            <atom:updated>2024-03-21T14:40:26.692Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CXEPDi-6iXA8c9YW0v5Tzw.jpeg" /></figure><p>Training and deploying machine learning models is a complex process. There are lots of steps involved — think data prep, model training, evaluating how good your model is, and then deploying it. Especially when it comes to training and evaluation, it’s super important to have a tool that makes life easier, something that lets us compare different experiments and track their performance (like losses, hyperparameters, metrics, etc.) … <a href="https://miguel-mendez-ai.com/2023/11/22/deploy-mlflow-terraform">read more</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e74aeff696d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>