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

How to Sync Obsidian between Android, Windows and Mac via GIT

Introduction I’ve tried many tools and tutorials to sync my obsidian notes between android and windows. They all have the same problems: Some need subscription service (Obsidian Sync) which I’m not willing to pay Some can’t handle editing the same file (Sync via GoogleDrive, Dropbox and …) Others need complicated setup and maintenance. My Solution This solution takes some time (at most 10 minutes) to setup. But, once it is finished, it works perfectly....

January 16, 2023 · 6 min · 1251 words · Amir

Make Windows Faster

While there are many resources available on optimizing PC performance, I have found that some of them focus on less important or even incorrect details. I say the things that have actually worked for me. The credit for this post mostly belongs to Chris Titus Tech, as I sourced much of the information from his YouTube channel. However, I wanted to compile the key points in one place for easy reference and to ensure that I wouldn’t forget the important information....

December 27, 2022 · 4 min · 732 words · Amir