Amir Pourmand

Welcome to my blog. Here, I will share my thoughts
You can click here to visit my Farsi Blog.

Browser Extensions I use

Here are some most important chrome extensions I use almost on a daily basis. All of them can be installed on chromium browsers. But, they may not be available on Firefox or other browsers. Bitwarden Bitwarden is the first thing I install on every browser. It saves all my passwords on all my devices. I rather not depend on Google to save my passwords since It limits my options to just use same-old Chrome....

March 12, 2024 · 2 min · 366 words · Amir

How to Install GPU Driver on Ubuntu

There are lots of tutorials on the internet on how to install a GPU driver on Linux. However, I end up searching again every time I want to install a GPU drivers and I get frustrated when there are multiple ways of doing the same thing and I don’t know which one is the best. Also, there are some things I’ve learned which I’d like to share it. I’ve tested this on 3090 GPU and Ubuntu 22....

March 2, 2024 · 5 min · 1026 words · Amir

A Great Combination of Jupyter + Conda + Docker

I’ve always wanted a clean local environment to install python packages in it. To me, it should have multiple requirements: 1- Installing packages should be easy enough. I mean I just want to use pip install that and not worry about anything else. 2- Switching between python environments should be easy. If I happen to need multiple environments in my system, I want to be able to easily switch between them....

December 8, 2023 · 3 min · 588 words · Amir

Useful Linux Commands and Scripts

I’ve been working for some time with Linux and I feel that sharing some scripts and also tools I frequently use can be helpful. Search History history | grep seach_string or Ctrl+R. Show File and Folder Size To analyze file size, there are several ways. ls -alh -rw-r--r-- 1 amir amir 270K May 20 2023 Arial.ttf -rw-r--r-- 1 root root 72 Sep 20 21:10 Untitled5.ipynb -rw-r--r-- 1 amir amir 1.2M May 26 2023 exp12....

December 5, 2023 · 3 min · 639 words · Amir

Elements of a Deep Learning Method

I’ve been thinking for some time about this and I want to share my thoughts about it. What are the elements of a deep learning method? If I read a paper in DL world, what questions I should ask to see if I understand the paper properly? This may seem trivial for some people as they intuitively understand it by reading some papers. Specifically, I’ve been reading YOLO-series papers and I always had a question in mind....

November 27, 2023 · 4 min · 821 words · Amir

How to Host your static website on Netlify and Use Cloudflare CDN

I host my hugo website on Netlify but since Netlify services are limited in my country, I have to use cloudflare CDN. Here’s how I do it. Step 1 Configure your website on Netlify like normal. Step 2 Go to Cloudflare Dashboard| Web Performance & Security and Login. Then Click on Add a site. You can then enter your domain name. Choose Free Plan Review your DNS records and just press Continue!...

August 9, 2023 · 2 min · 262 words · Amir

Machine Learning Blogs and Resources

It is a necessity that anyone should follow some podcasts and blogs for his/her field. ML is not an exception. This is the stuff I find useful, and I try to read or watch them every now and then. ML People (Blogs) Andrej Karpathy Andrej Karpathy - Andrej Karpathy blog Yann LeCun Yann LeCun’s Home Page Andrew Ng https://www.andrewng.org Chris Olah Home - colah’s blog Alfredo Canziani atcold.github.io Cassie Kozyrkov Demis Hassabis Geoffrey Hinton Yoshua Bengio Kate Crawford - Atlas of AI Lex Fridman Soumith Chintala Yoshua Bengio - ruder....

May 18, 2023 · 3 min · 483 words · Amir

Self-Supervised Bug Localization and Repair - A Research Proposal

This is one of my tasks which I’ve done when applying to KU-Leuven University at a position (it was later filled by someone else). At that time, I thought getting a Ph.D. is my type. It was later that I’ve understood that I have no interest in following academic pathway and becoming a researcher. But, since I have taken some time (a couple of days) to prepare this research proposal, I think publishing it wouldn’t be a bad idea....

May 17, 2023 · 10 min · 2107 words · Amir

Explainable YOLO: Making YOLOv5 interpretable via GradCAM

In this explanation, I’ll be discussing methods for achieving interpretability in YOLOv5, a popular object detection model. While there have been several attempts to make YOLOv5 interpretable, it’s worth noting that none of these methods are currently compatible with the latest version of the model. My work is the marriage between PyTorch-GradCAM and YOLOv5. GitHub - jacobgil/pytorch-grad-cam: Advanced AI Explainability for computer vision GitHub - ultralytics/yolov5: YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite Colab Demo To see how to use this module, maybe the best way is to use Colab tutorial I’ve provided here....

April 19, 2023 · 12 min · 2401 words · Amir

Youtube Channels Which Talk about AI

Yannic Kilcher Yannic is actually one of the brightest people I’ve ever met. He is knowledgeable mostly in NLP and also knows Computer Vision and some Reinforcement Learning. Here’s a list of videos from him which I liked a lot: How I Read a Paper: Facebook’s DETR (Video Tutorial) - YouTube: I recommend this one a lot. I’ve learned a lot from it. Machine Learning PhD Survival Guide 2021 - Advice on Topic Selection, Papers, Conferences & more - YouTube An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale (Paper Explained) - YouTube MLP-Mixer: An all-MLP Architecture for Vision (Machine Learning Research Paper Explained) - YouTube AI Coffee Break with Letitia She is very good at NLP and Transformers....

February 12, 2023 · 4 min · 692 words · Amir