Category Deep Learning

401. Optimizing GPU Utilization

▮ Low GPU Utilization Ideally, we want to use our GPU machines during training/inference fully. However, if you are not considering GPU utilization when creating training scripts for your deep learning model, the odds are that the GPU utilization rate…

400. Deep Learning Software Stack Structure

▮ Stack Structure For this post, I’d like to share an intuitive overview of the basic steps of how your code communicates with the GPU when implementing deep learning models. Starting from the GPU side, the general process takes the…

395. Deep Metric Learning

▮ Elements Metric learning aims to measure the similarity between samples while using distance metrics for learning. Due to a survey in 2019, this field seems to become more and more important. So for this post, I’d like to share…

393. Different Approaches For Image Classification

▮ Image Classification When doing image classification tasks, there are mainly 2 approaches; Traditional classification and Metric Learning. Here are the differences between the two approaches. ▮ Traditional Classification The traditional classification approach classifies images by outputting the probability for…

367. Transfer Learning VS Fine-Tuning

Difference Transfer learning and Fine-tuning both replace the final layer to make predictions for a different task. However, while transfer learning fixes all the layer previous to the final output layer, fine-tuning initializes the weights with the pre-trained weights but…

362. Image Segmentation using K-means Clustering

Clustering Depending on your data and objective, you may not even have to train a deep-learning model for image segmentation. Here is one way to apply segmentation using Kmeans clustering. Implementation from sklearn.cluster import KMeans from matplotlib.image import imread import…