// image · open-mmlab/mmagic

mmagic

mmagic — проект с открытым исходным кодом из категории «Изображения» от open-mmlab (open-mmlab/mmagic на GitHub). У него 7 472 звезды на GitHub и 1 097 форков, он распространяется по лицензии Apache-2.0 и последний раз обновлялся на GitHub 6 августа 2024.

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

★ 7,5 тыс. звёзд⑂ 1,1 тыс. форковApache-2.0обновлено авг. 2024
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
open-mmlab/mmagic
Звёзды GitHub
7 472
Форки
1 097
Лицензия
Apache-2.0
Последнее обновление на GitHub
6 августа 2024
Категория
Изображения
Тип страницы
Полное руководство по установке
Официальный сайт
Official site
// как это работает

Как это работает

  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.

// возможности

Почему его любят

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
// запустите сами

Запустите сами

  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
// сценарии использования

Что можно создать

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
// вопросы и ответы

Вопросы и ответы

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.

// продолжить изучение

Похожие инструменты

Изображения

OmniGen

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

★ 4,3 тыс. звёздMIT
Смотреть руководство →
Изображения

Kandinsky-2

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

★ 2,8 тыс. звёздApache-2.0
Смотреть руководство →
Изображения

TensorStack

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

★ 44 звездыApache-2.0
Смотреть руководство →
Изображения

stable-diffusion.cpp

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

★ 7,5 тыс. звёздMIT
Смотреть руководство →
Изображения

linkedin-content-creator

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

★ 97 звёздMIT
Смотреть руководство →
Изображения

omnigen-vault

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

★ 35 звёздMIT
Смотреть руководство →
// альтернативы

Альтернативы: Изображения

Другие проекты из категории «Изображения» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если mmagic вам не подходит.

// ещё в категории image

Больше проектов: Изображения

Соседние проекты из категории «Изображения» в каталоге, ближайшие по числу звёзд к mmagic — продолжайте изучать полку по обе стороны от него.

Получить mmagic

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.