lxztju/pytorch_classification
利用pytorch实现图像分类的一个完整的代码,训练,预测,TTA,模型融合,模型部署,cnn提取特征,svm或者随机森林等进行分类,模型蒸馏,一个完整的代码 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2327
- days_rel: n/a
- days_push: 1304
- n_releases_24m: 0
Adoption not part of the score
1466 stars · 343 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A complete PyTorch image classification codebase built on torchvision, covering training, prediction, TTA, model ensembling, knowledge distillation, and CNN feature extraction with classifiers like SVM and random forest. It also includes deployment options via Flask + Redis, C++ libtorch, and TensorRT inference.
Use cases
- train an image classification model in pytorch
- deploy a trained cnn model with flask or libtorch
- perform test-time augmentation (tta) for predictions
- ensemble multiple models with weighted or voting fusion
- extract cnn features and classify with svm or random forest
- apply knowledge distillation to a smaller model
- export a pytorch model to tensorrt or c++ for inference
When to choose
- you want an end-to-end pytorch image classification pipeline with training and deployment
- you need torchvision-based models like resnet, densenet, efficientnet, or swin transformer with modern training tricks
- you want to deploy models in c++ via libtorch or tensorrt
- you need feature extraction plus classical classifiers like svm or random forest
When to avoid
- you need a maintained library with frequent updates and official support
- you want object detection, segmentation, or other vision tasks beyond classification
- you need a high-level training API like pytorch lightning with minimal boilerplate
- you are not working in python or c++ environments
Facets
library · maturity maintenance
machine-learning image-processing llm-training deployment computer-vision image-processing deep-learning machine-learning python cpp image-classification pytorch torchvision model-deployment knowledge-distillation tta libtorch tensorrt model-ensemble flask-api gpu
1 source
- readme: https://github.com/lxztju/pytorch_classification · fetched 2026-08-28 · 61bdb88eb316
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lxztju/pytorch_classification | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="lxztju/pytorch_classification")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem