Ross ROSS = Recommend OSS · open-source software intelligence for agents

rosinality/vq-vae-2-pytorch

Implementation of Generating Diverse High-Fidelity Images with VQ-VAE-2 in PyTorch observed · 2026-08-28

github.com/rosinality/vq-vae-2-pytorch · Python · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2642
  • days_rel: n/a
  • days_push: 1296
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1803 stars · 281 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A PyTorch implementation of VQ-VAE-2 for generating diverse high-fidelity images, including training scripts for the VQ-VAE and PixelSNAIL prior stages. It supports hierarchical top/bottom priors at 256px resolution and distributed training across multiple GPUs.

Use cases

  • train a VQ-VAE-2 model on my own image dataset
  • generate high-fidelity images with a vector quantized VAE in PyTorch
  • reproduce the VQ-VAE-2 paper results on FFHQ
  • train a PixelSNAIL prior over discrete image codes
  • extract quantized codes from images into an LMDB store
  • learn how VQ-VAE-2 works with example code

When to choose

  • you want a reference PyTorch implementation of VQ-VAE-2 for research or learning
  • you need to train a two-stage generative model (VQ-VAE + autoregressive prior) on 256px images
  • you want pretrained FFHQ checkpoints to start from

When to avoid

  • you need a production-ready or actively maintained image generation library
  • you want modern diffusion-based image generation instead of VQ-VAE
  • you need a polished API rather than research scripts

Facets

library · maturity maintenance

machine-learning deep-learning image-processing deep-learning machine-learning image-processing python vq-vae pytorch pixelsnail image-generation generative-models research-code gpu

1 source

Member repositories

RepositoryRoleHealth v2
rosinality/vq-vae-2-pytorchmain32

For agents

markdown · JSON · MCP: product_card(name="rosinality/vq-vae-2-pytorch")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem