LibreAI / 画像 / mmagic
// image · open-mmlab/mmagic

mmagic

mmagicは、open-mmlabが公開しているオープンソースの画像プロジェクトです(GitHub: open-mmlab/mmagic)。GitHubスターは7,472、フォークは1,097で、Apache-2.0ライセンスの下で公開されています。GitHubでの最終更新は2024年8月6日です。

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

★ 7.5k スター⑂ 1.1k フォークApache-2.0更新 2024年8月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

リポジトリ
open-mmlab/mmagic
GitHubスター
7,472
フォーク
1,097
ライセンス
Apache-2.0
GitHubでの最終更新
2024年8月6日
カテゴリ
画像
掲載タイプ
完全なインストールガイド
公式サイト
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.3k スターMIT
ガイドを見る →
画像

Kandinsky-2

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

★ 2.8k スター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.5k スター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を入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。