#python

23 posts

PyTorchDeep Learning

The “Ghost in the Machine”: Tracking Variable Names and Metadata in PyTorch

February 10, 20264 min read

#deep-learning#pytorch#machine-learning#python-programming+1
Read article
PythonDeveloper Tools

Keeping Your Mac Lean: A Guide to Upgrading and Cleaning Python (2026 Edition)

January 6, 20263 min read

#macos#python#pyenv#package-management+1
Read article
Computer VisionPython

Comprehensive Guide to Overlaying Segmentation Masks in Python

May 30, 20255 min read

#computer-vision#image-segmentation#python#opencv+1
Read article
Medical AIMedical Imaging

Compressing .nii Files to .nii.gz: A Guide to Efficient Data Management with NiBabel and SimpleITK

May 12, 20253 min read

#medical-imaging#nibabel#simpleitk#python+1
Read article
Data SciencePython

Row by Row: A Guide to Iterating Over Pandas DataFrames with iterrows() and loc[]

May 1, 20253 min read

#python#pandas#data-science#data-manipulation
Read article
AlgorithmsGame AI

Chess — Part 1: Establishing Communication Between Chess Engine and GUI

January 16, 20254 min read

#chess#uci#ipc#python+1
Read article
AlgorithmsGame AI

Chess — Part 0: Introduction to Chess Programming Basics

January 10, 20256 min read

#chess#python#ai#game-dev+1
Read article
PythonPerformance

Profiling different algorithms using the built-in timeit module in Python

December 27, 20244 min read

#python#profiling#performance#algorithms+1
Read article
Data VisualizationOptimization

Plotting Continuously Updating Gradient Vectors on Loss Landscape in Matplotlib — Part 1

December 19, 20244 min read

#python#matplotlib#optimization#deep-learning+1
Read article
PythonDeveloper Tools

How to save both ‘logs’ and ‘print’ statement outputs in the same file using Python?

April 11, 20243 min read

#python#logging#debugging#io
Read article
Developer ToolsPython

Changing the Python version on Google Colab

September 27, 20231 min read

#python#colab#linux#troubleshooting
Read article
MathematicsLinear Algebra

QR Factorization: Gram-Schmidt Algorithm

November 25, 20224 min read

#linear-algebra#mathematics#python#algorithms
Read article
Data VisualizationPython

Quick Tips #2: Try Plotting an All 1s 2D Array in Matplotlib

October 21, 20222 min read

#python#matplotlib#data-visualization#numpy
Read article
Data VisualizationPython

How to plot multiple 2D Series in 3D (Waterfall plot) in Matplotlib

March 21, 20223 min read

#python#matplotlib#data-visualization#3d-plots
Read article
PyTorchDeveloper Tools

Quick Tips #1: How to obtain environment information using PyTorch

January 25, 20221 min read

#python#pytorch#cuda#troubleshooting
Read article
Deep LearningTensorFlow

Creating a TF Dataset using a Data Generator

August 21, 20212 min read

#deep-learning#tensorflow#data-pipeline#python
Read article
Data VisualizationPython

Plotting Stacked Bar Chart in Python using Matplotlib

August 1, 20212 min read

#python#matplotlib#data-visualization#data-science
Read article
Data VisualizationPython

Plotting Grouped Bar Chart in Matplotlib

July 30, 20212 min read

#python#matplotlib#data-visualization#data-science
Read article
AlgorithmsPython

Solving Integer Partitioning Problem using Python

September 8, 20204 min read

#python#algorithms#mathematics#combinatorics
Read article
Data VisualizationPython

Magnifying Dense regions in Matplotlib plots

August 1, 20201 min read

#python#matplotlib#data-visualization#data-science
Read article
Deep LearningFrameworks

Keras vs PyTorch

July 24, 20205 min read

#deep-learning#pytorch#keras#python
Read article
Deep LearningDeveloper Tools

Using Telegram bot to receive Deep Learning model training updates on your mobile device

April 11, 20204 min read

#deep-learning#tensorflow#keras#telegram-bot+1
Read article
Computer VisionPython

Converting MNIST dataset for Handwritten digit recognition in IDX Format to Python Numpy Array

February 22, 20186 min read

#python#numpy#mnist#machine-learning
Read article