LibreAI / 画像 / pytorch-CycleGAN-and-pix2pix
// image · junyanz/pytorch-CycleGAN-and-pix2pix

pytorch-CycleGAN-and-pix2pix

pytorch-CycleGAN-and-pix2pixは、junyanzが公開しているオープンソースの画像プロジェクトです(GitHub: junyanz/pytorch-CycleGAN-and-pix2pix)。GitHubスターは25,256、フォークは6,566で、NOASSERTIONライセンスの下で公開されています。GitHubでの最終更新は2025年8月6日です。

The classic PyTorch implementation of CycleGAN and pix2pix for image-to-image translation

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

プロジェクト基本情報

GitHubスター
25,256
フォーク
6,566
ライセンス
NOASSERTION
GitHubでの最終更新
2025年8月6日
カテゴリ
画像
掲載タイプ
完全なインストールガイド
// 仕組み

仕組み

  1. Clarify your goal

    Decide what you want to achieve with pytorch-CycleGAN-and-pix2pix and check the README on GitHub for requirements before installing.

  2. Get the code

    Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).

  3. Install and configure

    Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.

  4. Run your first task

    Work through the README's quickstart example end to end, then adapt it to your own project or data.

// 機能

選ばれる理由

Both landmark models

CycleGAN for unpaired data and pix2pix for paired data in one codebase.

Pre-trained models

Download and apply pre-trained CycleGAN/pix2pix models without training your own.

Training and test scripts

Documented train/test flows for both models, including multi-GPU training.

Dataset tooling

Scripts and docs for downloading the standard datasets (facades, maps, horse2zebra and more).

Custom models and datasets

Guides for adapting the code to your own model and dataset.

Extensive docs

Tips, FAQ and troubleshooting docs accumulated from years of community use.

Advertisement
// 自分で実行

自分で実行してみる

  1. Clone the repository

    Get the CycleGAN/pix2pix PyTorch code.

    git clone https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix.git
    cd pytorch-CycleGAN-and-pix2pix
  2. Install PyTorch and dependencies

    Create the documented conda environment (or install PyTorch plus the requirements) per the README installation section.

    # install PyTorch from pytorch.org, then see the README 'Installation' for the conda env commands
  3. Apply a pre-trained model

    Download a pre-trained model with the provided scripts and run the test script on your images.

    # see the README 'Apply a pre-trained model (CycleGAN)' section for the exact commands
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

Who maintains pytorch-CycleGAN-and-pix2pix?

pytorch-CycleGAN-and-pix2pix is maintained by the junyanz organization/account on GitHub, together with open-source contributors, in the public repository junyanz/pytorch-CycleGAN-and-pix2pix.

Is pytorch-CycleGAN-and-pix2pix free to use?

Yes — the code is open source under the NOASSERTION license. Check the repository's LICENSE file for the exact terms before commercial use.

Does pytorch-CycleGAN-and-pix2pix need a paid API key?

No API key — everything runs locally; the real cost is a GPU for training (inference with pre-trained models is lighter).

How does pytorch-CycleGAN-and-pix2pix compare to diffusion-based image editors?

Modern diffusion tools are easier and higher fidelity for many tasks, but this repo remains the canonical, citable implementation for learning and reproducing CycleGAN/pix2pix results.

How do I get started with pytorch-CycleGAN-and-pix2pix?

Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.

// さらに探索

似ているツール

画像

contrastive-unpaired-translation

CUT — contrastive unpaired image-to-image translation in PyTorch, faster and lighter than CycleGAN (ECCV 2020)

★ 2.6k スターNOASSERTION
ガイドを見る →
画像

DragGAN

Unofficial DragGAN implementation: drag points on a GAN image to edit it interactively

★ 4.9k スターNOASSERTION
ガイドを見る →
画像

diffusers

🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.

★ 34.6k スターApache-2.0
ガイドを見る →
画像

immich-analyze

AI image descriptions for Immich — Ollama analyzes, database updates

★ 81 スターGPL-3.0
ガイドを見る →
画像

Bagel

ByteDance's open-source unified multimodal model for understanding, generation and image editing.

★ 6.2k スターApache-2.0
ガイドを見る →
画像

HunyuanImage-3.0

Tencent's HunyuanImage-3.0 — a powerful native multimodal model for image generation.

★ 3.3k スターNOASSERTION
ガイドを見る →
// 代替候補

代替候補: 画像

LibreAIカタログに掲載された画像プロジェクトの中で最もスターの多いもの — pytorch-CycleGAN-and-pix2pixが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る image

さらに見る: 画像

カタログの中でpytorch-CycleGAN-and-pix2pixとスター数が近い画像プロジェクト — 前後の棚もそのまま見て回れます。

pytorch-CycleGAN-and-pix2pixを入手する

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