Category AI

190. Data-Level Methods

Data Imbalance Data-Leveling is used when your training data is imbalanced. Methods Upsample: This is where you add new instance for the minority class to balance the data. Downsample: This is where you delete data from the majority class to…

189. AI Podcasts

These are the podcasts that are helping me learn AI. 1. “AI Today” by Cognilytica 2. “Super Data Science” by John Krohn 3. “Data Skeptic” by Kyle Polich 4. “Practical AI” by Changelog Media

188. KL Divergence

KL Divergence KL Divergence measures the distance between probability distributions. This is used in various places such as the cross-entropy loss or as a loss function in VAE where you want to constrain the latent distribution to a standard distribution.…

187. Online AI-related Courses

These are the online courses that helped me get a job as an AI engineer from a residential architect. Udemy Machine Learning A-Z™: Hands-On Python & R In Data Science Artificial Intelligence A-Z™: Learn How To Build An AI Deep…

186. PVTv2

PVTv2 The previous PVT had mainly 3 limitations. When processing high-resolution images, the computational cost is still relatively high. Loses local continuity of the image because it treats the image as a sequence of non-overlapping patches. Inflexible for arbitrary image…

185. DETR

DETR Modern object detectors predict a set of bounding boxes and category labels for each object of interest by defining surrogate regression and classification problems on a large set of proposals. This means that their performances heavily rely on post-processing…

184. Pyramid Vision Transformers

Background When using Traditional CNN-backboned architecture models, due to the convolutional filter’s weights being fully fixed after training, they suffered to adapt to different inputs dynamically. Vision Transformers attempted to remove the convolution from the backbone, but since it is…

182. Save/Load Models Using Pytorch

I’d like to share 2 different ways to save and load a model using Pytorch. Saving The Entire Model #save model torch.save(model, PATH) #load model model = torch.load(PATH) model.eval() This save/load process has the least amount of code to implement.…