Skip to content
Projets

À propos

Une base performante pour la classification d’images, la reconnaissance faciale et la recherche d’images avec PyTorch

Apprentissage automatique

Comment ces chiffres sont mesurés

What you can do

  • Training engine: Unified training flow for classification and embedding-based recognition tasks.
  • Optimization algorithms: SGD, Adam, SAM, layer-specific learning rates, and related training strategies.
  • Data augmentation: CutOut, ColorJitter, Copy-Paste, Mixup, and class-specific augmentation.
  • Regularization and losses: Label smoothing, OHEM, Focal Loss, ArcFace, CircleLoss, MagFace, and more.

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

DORAEMON: Deep Object Recognition And Embedding Model Of Networks

Doraemon is a PyTorch-based visual modeling library for image classification, content-based image retrieval, face recognition, and model deployment. It integrates timm backbones, common metric-learning heads, training utilities, evaluation tools, visualization, and Hugging Face-compatible deployment APIs.

Highlights

  • Training engine: Unified training flow for classification and embedding-based recognition tasks.
  • Optimization algorithms: SGD, Adam, SAM, layer-specific learning rates, and related training strategies.
  • Data augmentation: CutOut, ColorJitter, Copy-Paste, Mixup, and class-specific augmentation.
  • Regularization and losses: Label smoothing, OHEM, Focal Loss, ArcFace, CircleLoss, MagFace, and more.
  • Visualization: GradCAM-based model interpretation and bad-case analysis.
  • Deployment: Local inference and Hugging Face AutoModel / AutoProcessor integration.

Installation

# Create and activate environment
python -m venv doraemon
source doraemon/bin/activate

# Install from PyPI
pip install doraemon-torch

# Or install in editable mode for development
pip install -e .

Task Status

Task Status Docs
Image Classification Supported Image Classification
Content-Based Image Retrieval Supported Image Retrieval
Face Recognition In progress Training on MS-Celeb-1M-v1c and evaluation on LFW are supported internally; the end-to-end public pipeline is still being organized.

Tutorials

For task-specific data preparation, model configuration, training, evaluation, and visualization examples:

Datasets

Doraemon provides dataset entry points for quickly starting experiments:

Supported Models

Doraemon supports 1000+ visual backbones through timm:

  • All models from timm.list_models(pretrained=True)
  • CLIP, SigLIP, DeiT, BEiT, MAE, EVA, DINO, ResNet, Swin Transformer, ViT, and more

Model Performance Benchmarks can help select backbones by inference speed, training efficiency, accuracy, and parameter count.

For detailed benchmark results, see @huggingface/pytorch-image-models#1933.

Deployment API

Doraemon supports deployment with a trained weight file plus model configuration and inference code:

  • Local inference: Run a trained *.pt model with the deployment config.
  • Hugging Face integration: Publish models that can be loaded with:
    • AutoModel.from_pretrained()
    • AutoProcessor.from_pretrained()

For detailed deployment instructions and examples, see the Deployment Guide.

What's New

  • 2025.11.07: Doraemon paper released; welcome to cite our paper if you find the project useful for your research or development.
  • 2025.03.16: Doraemon v0.1.0 released.
  • 2024.10.01: Content-Based Image Retrieval (CBIR) pipeline released with product data collected from Kaggle and TianChi. See Image Retrieval.
  • 2024.04.01: Face Recognition support added with MS-Celeb-1M-v1c training data and LFW validation. Public end-to-end documentation is still in progress.
  • 2023.06.01: Image Classification support released with Oxford-IIIT Pet examples, hard example mining, GradCAM visualization, auto-labeling, and class-specific augmentation. See Image Classification.

Citation

If you find Doraemon useful for your research or development, please cite the following paper:

@misc{du2025visual,
      title={DORAEMON: A Unified Library for Visual Object Modeling and Representation Learning at Scale},
      author={Ke Du and Yimin Peng and Chao Gao and Fan Zhou and Siqiao Xue},
      year={2025},
      journal={arXiv preprint arXiv:2511.04394},
      url={https://arxiv.org/abs/2511.04394},
}

Explorer des projets similaires

Chargement…