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

mmagic

mmagic é um projeto de imagem de código aberto de open-mmlab (open-mmlab/mmagic no GitHub). Tem 7.472 estrelas no GitHub e 1.097 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 6 de agosto de 2024.

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

★ 7,5 mil estrelas⑂ 1,1 mil forksApache-2.0atualizado ago 2024
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Repositório
open-mmlab/mmagic
Estrelas no GitHub
7.472
Forks
1.097
Licença
Apache-2.0
Última atualização no GitHub
6 de agosto de 2024
Categoria
Imagem
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

Como funciona

  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.

// recursos

Por que as pessoas gostam tanto

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
// execute você mesmo

Execute você mesmo

  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
// casos de uso

O que você pode criar

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
// perguntas frequentes

Perguntas frequentes

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.

// continue explorando

Ferramentas semelhantes

Imagem

OmniGen

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

★ 4,3 mil estrelasMIT
Ver o guia →
Imagem

Kandinsky-2

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

★ 2,8 mil estrelasApache-2.0
Ver o guia →
Imagem

TensorStack

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

★ 44 estrelasApache-2.0
Ver o guia →
Imagem

stable-diffusion.cpp

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

★ 7,5 mil estrelasMIT
Ver o guia →
Imagem

linkedin-content-creator

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

★ 97 estrelasMIT
Ver o guia →
Imagem

omnigen-vault

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

★ 35 estrelasMIT
Ver o guia →
// alternativas

Alternativas em Imagem

Os outros projetos de Imagem com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se mmagic não for o ideal para você.

// mais em image

Mais em Imagem

Projetos de Imagem próximos no catálogo, os mais próximos em estrelas de mmagic: continue explorando dos dois lados dele.

Baixe o mmagic

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.