LibreAI / Image / mmagic
// image · open-mmlab/mmagic

mmagic

mmagic est un projet de image open source, créé par open-mmlab (open-mmlab/mmagic sur GitHub). Il compte 7 472 étoiles sur GitHub et 1 097 forks, il est publié sous la licence Apache-2.0 et a été mis à jour pour la dernière fois sur GitHub le 6 août 2024.

MMagic — OpenMMLab's generative-AI toolbox: diffusion, text-to-image, restoration and a model zoo.

★ 7,5 k étoiles⑂ 1,1 k forksApache-2.0mis à jour août 2024
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
7 472
Forks
1 097
Licence
Apache-2.0
Dernière mise à jour sur GitHub
6 août 2024
Catégorie
Image
Type de fiche
Guide d'installation complet
Site officiel
Official site
// fonctionnement

Comment ça marche

  1. Clarify your goal

    Pick your task (generation, restoration, inpainting and so on) and the algorithm/config you will start from in the model zoo.

  2. Get the project

    Clone open-mmlab/mmagic from GitHub (or use the install path in the run steps below) and skim its README for the parts relevant to your goal.

  3. Install and configure

    Clone the repo and install it with the OpenMMLab toolchain (mim/pip) per the official documentation for your PyTorch and CUDA versions.

  4. Run your first task

    Run a documented demo config — for example a text-to-image or super-resolution example — on a sample input before training anything.

// fonctionnalités

Pourquoi on l'adore

Broad generative coverage

Text-to-image, diffusion, image/video restoration and enhancement, inpainting, matting, colorisation and video interpolation in one toolbox.

Model zoo and configs

A curated zoo of algorithms (33+ accelerated by PyTorch 2.0) driven by OpenMMLab-style configs for reproducible experiments.

Diffusion workflows

Stable Diffusion and Disco Diffusion generation, DreamBooth and DreamBooth LoRA fine-tuning, and ControlNet-based controllability.

Acceleration support

xFormers-based acceleration and optimisation strategies to improve training and inference efficiency.

Unified data handling

Refactored DataSample and DataPreprocessor unify data formats across tasks during training and inference.

Serious evaluation

Multi-dataset evaluation supporting generation metrics (for example FID) and reconstruction metrics (for example SSIM), with TensorBoard and wandb visualisation.

Advertisement
// lancez-le

Lancez-le vous-même

  1. Clone the repository

    Get the source from the official GitHub repository for mmagic.

    git clone https://github.com/open-mmlab/mmagic.git
    cd mmagic
  2. Clone MMagic

    Clone the repository as the first step of the documented OpenMMLab installation.

    git clone https://github.com/open-mmlab/mmagic.git
    cd mmagic
  3. Install and run a demo

    Install MMagic with the OpenMMLab toolchain for your environment, then run a documented demo config from the docs.

    # Install per https://mmagic.readthedocs.io/en/latest/ (mim/pip for your PyTorch/CUDA), then run a demo — see README
// cas d'usage

Ce que vous pouvez créer

The model zoo here overlaps with the classics it re-implements: the original PyTorch CycleGAN and pix2pix codebase is still the reference that translation and editing toolboxes benchmark themselves against.

Advertisement
// faq

Questions fréquentes

Who maintains mmagic?

open-mmlab (OpenMMLab), through the open-mmlab/mmagic repository, with documentation at mmagic.readthedocs.io.

Is mmagic free to use?

Yes — the project is open source under the Apache-2.0 license as recorded for this listing. See the license terms for any conditions on redistribution.

Does mmagic need a paid API key?

No API keys are involved — models run locally on your GPUs; MMagic is free under Apache-2.0, and you supply the compute and datasets.

How does MMagic compare to a single-model diffusion library?

Single-model libraries do one pipeline well. MMagic is a research toolbox spanning many generative tasks and algorithms with shared configs, data handling and evaluation — broader and more configurable, with a steeper OpenMMLab learning curve.

How do I get started with mmagic?

Clone the repository (or use the documented installer), follow the install and configure steps on this page, and run the smallest real task first — run a documented demo config — for example a text-to-image or super-resolution example — on a sample input before training anything.

// continuez l'exploration

Outils similaires

Image

OmniGen

OmniGen: one unified model for text-to-image, editing, subject-driven and identity-preserving generation

★ 4,3 k étoilesMIT
Voir le guide →
Image

Kandinsky-2

Kandinsky 2.2 — multilingual text-to-image latent diffusion with ControlNet, inpainting and image fusion

★ 2,8 k étoilesApache-2.0
Voir le guide →
Image

TensorStack

C# generative AI SDK — text, image, video and audio via ONNX

★ 44 étoilesApache-2.0
Voir le guide →
Image

stable-diffusion.cpp

Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++

★ 7,5 k étoilesMIT
Voir le guide →
Image

linkedin-content-creator

AI LinkedIn content studio — text, image and carousel posts on a calendar

★ 97 étoilesMIT
Voir le guide →
Image

omnigen-vault

Infinite text-free AI image generator with a searchable multilingual vault

★ 35 étoilesMIT
Voir le guide →
// alternatives

Alternatives en Image

Les autres projets de la catégorie Image avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si mmagic ne vous convient pas.

// plus en image

Plus en Image

Projets de la catégorie Image proches dans le catalogue, les plus proches en étoiles de mmagic — continuez à explorer de part et d'autre.

Obtenir mmagic

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.