Quay lại Trending
RepositoryPythonKRHàn Quốc
hoya012

hoya012/carrier-of-tricks-for-classification-pytorch

carrier of tricks for image classification tutorials using pytorch.

104sao
20fork
0issue
2lượt xem

🧠 Carrier of Tricks — Bộ công cụ học tập ảnh với PyTorch

Một kho tổng hợp các kỹ thuật huấn luyện hiệu quả cho bài toán phân loại ảnh, cài đặt từ paper "Bag of Tricks for Image Classification with Convolutional Neural Networks" (CVPR 2019).

Dự án do hoya012 xây dựng, là một codebase huấn luyện mô hình phân loại ảnh bằng PyTorch, tích hợp nhiều kỹ thuật nâng hiệu suất huấn luyện phổ biến trong lĩnh vực thị giác máy tính. Dự án được kiểm chứng trên bộ dữ liệu Intel Image Classification (6 lớp, ~25k ảnh) và sử dụng các mô hình như ResNet, EfficientNet, RegNet.

✨ Điểm nổi bật

  • Huấn luyện baseline đa dạng: hỗ trợ ResNet-50 pretrained hoặc random init, tối ưu SGD/Adam.
  • Warmup + Cosine Annealing: điều chỉnh learning rate theo cách nâng cao để ổn định huấn luyện.
  • Tăng cường dữ liệu (Augmentation): MixUp, CutMix, RandAugment với cấu hình chuẩn từ paper.
  • Label Smoothing: áp dụng smoothing coefficient = 0.1 theo paper gốc.
  • Zero Gamma in BatchNorm: khởi tạo giá trị gamma = 0 ở last BN trong residual branch.
  • RAdam Optimizer: tích hợp RAdam để ổn định gradient ở giai đoạn đầu huấn luyện.
  • EvoNorm: thay thế BatchNorm bằng EvoNorm để cải thiện hiệu suất.
  • Hỗ trợ EfficientNet & RegNet: tải trọng số pretrained từ pycls của Facebook Research.

💡 Vì sao đáng chú ý

Dự án không chỉ là một tutorial đơn thuần mà còn là một nền tảng thực hành rất tốt để người dùng trải nghiệm thủ tay các kỹ thuật huấn luyện hiện đại. Mỗi kỹ thuật đều được cài đặt độc lập và có thể bật/tắt qua tham số dòng lệnh, giúp dễ dàng so sánh ảnh hưởng của từng trick. Đây là nguồn hữu ích cho các nhà nghiên cứu và kỹ sư muốn nhanh chóng thử nghiệm các phương pháp mới trong lĩnh vực phân loại ảnh.


#DeepLearning #ImageClassification #PyTorch #BagOfTricks #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC++
tensorflow/tensorflow

An Open Source Machine Learning Framework for Everyone

201.9k
Dec 1, 2026
RepositoryPython
yunjey/pytorch-tutorial

PyTorch Tutorial for Deep Learning Researchers

32.5k
Aug 15, 2023
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryPython
ultralytics/ultralytics

Ultralytics YOLO27, YOLO26, YOLO11, YOLOv8 — object detection, instance segmentation, semantic segmentation, image classification, pose estimation, object tracking

63.9k
Dec 1, 2026
RepositoryPython
NandhaKishorM/laya

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

36.1k
Nov 30, 2026
RepositoryJupyter Notebook
rasbt/LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

109.4k
Nov 26, 2026
RepositoryJupyter Notebook
GokuMohandas/Made-With-ML

Learn how to develop, deploy and iterate on production-grade ML applications.

50.3k
Mar 4, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

67.8k
Nov 2, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

67.8k
Nov 2, 2026