Transformation (Albumentations)
September 6, 2021Using the Albumentations library for image augmentation in PyTorch, with example pipelines for training and TTA.
1 min read·computer-visionpytorch+1Last-Minute Score Boosting
September 2, 2021Last-minute competition score boosting: test-time augmentation (TTA) with soft voting and half-precision training.
1 min read·computer-visionpytorch+1Confusing NumPy
September 1, 2021Common NumPy pitfalls: dtype=object issues with mixed-type lists and axis behavior in np.mean.
1 min read·pytorchpythonEnsemble
August 31, 2021Ensemble methods for AI competitions: hard voting, soft voting, and weighted voting to improve model performance.
1 min read·dlpytorchTraining Process
August 30, 2021How gradient accumulation works in PyTorch for effective large-batch training on limited GPU memory.
1 min read·dlpytorchAdditional Training Techniques
August 30, 2021Practical training techniques including AMP, label smoothing, ArcFace loss, class pivot adjustment, and Wandb logging for image classification.
1 min read·computer-visionpytorchConfusing Training Methods
August 29, 2021Clarifying common mistakes in PyTorch training loops, validation ordering, and K-fold cross validation usage.
1 min read·dlpytorchCutMix
August 27, 2021CutMix data augmentation in PyTorch: loss computation, accuracy, and F1 score calculation.
1 min read·computer-visionpytorch+1TIL Coding Notes 2021.08.25~27
August 26, 2021TIL notes on wandb logging, fine-tuning pre-trained models, early stopping, and ensemble learning during an image classification competition.
4 min read·pytorchnaver-boostcamp+1TIL Training Plan 2021.08.24
August 24, 2021Day 2 competition log covering ensemble strategies (bagging vs. boosting) and CNN model selection for image classification.
1 min read·pytorchnaver-boostcamp+1Some Tips
August 24, 2021Tips on efficient data feeding, transform ordering for performance, and using Albumentations for image augmentation.
1 min read·pytorchai-competitionPreprocessing
August 24, 2021Image preprocessing and data augmentation techniques for deep learning competitions, including resizing, bounding box cropping, and torchvision transforms.
2 min read·pytorchai-competitionTIL Training Plan 2021.08.23
August 23, 2021Training plan for a mask classification competition: per-feature models with ensemble learning, plus Jupyter vs. CLI workflow notes.
1 min read·pytorchnaver-boostcamp+1Troubleshooting
August 22, 2021Common PyTorch troubleshooting tips for GPU memory issues, OOM errors, tensor accumulation, and inference best practices.
1 min read·pytorchHyperparameter Tuning
August 22, 2021Overview of hyperparameter tuning methods including grid search, random search, and Bayesian optimization, with an introduction to Ray for parallel tuning.
1 min read·pytorchdltqdm with epoch statics
August 22, 2021Quick tip on displaying training accuracy and loss inside tqdm progress bars in PyTorch.
1 min read·pytorchMulti GPU
August 20, 2021Guide to multi-GPU training in PyTorch covering model parallelism, DataParallel, and DistributedDataParallel with code examples.
1 min read·pytorchdlPyTorch Transfer Learning
August 20, 2021Transfer learning in PyTorch: freezing layers, stepping frozen strategies, and model file formats.
1 min read·pytorchPyTorch Dataset and DataLoader
August 19, 2021Guide to PyTorch Dataset and DataLoader: data flow, tensor conversion, samplers, collate_fn, and transforms.
1 min read·pytorchPyTorch apply
August 19, 2021How PyTorch's nn.Module.apply() maps a function across all submodules via postorder traversal.
1 min read·pytorchPyTorch Hook
August 18, 2021How to use PyTorch hooks for inspecting and modifying forward/backward passes in nn.Module.
1 min read·pytorchPyTorch Template and Tips
August 17, 2021PyTorch project tips: template structure, getattr for dynamic config, and abstract methods.
1 min read·pytorchpythonPyTorch Basic Syntax
August 17, 2021Essential PyTorch operations: view vs reshape, squeeze, matrix multiplication, index_select, gather, and more.
2 min read·pytorchTransformer Practice
August 13, 2021Hands-on PyTorch implementation of Scaled Dot-Product Attention and Multi-Head Attention for the Transformer.
3 min read·pytorchnlpWeight Initialization
August 11, 2021Why weight initialization matters in deep learning and why zero initialization should be avoided.
1 min read·dlml+1Optimizer Practice
August 10, 2021Practical comparison of SGD, Momentum, and Adam optimizers on function approximation with noisy data in PyTorch.
1 min read·dlpytorchPyTorch
January 1, 2021Practical PyTorch tips covering parameter initialization, model.eval(), tensor views, and the training loop.
2 min read·dlpytorch