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

devnag/pytorch-generative-adversarial-networks resource

A very simple generative adversarial network (GAN) in PyTorch observed · 2026-08-28

github.com/devnag/pytorch-generative-adversarial-networks · Python · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: 3491
  • days_rel: n/a
  • days_push: 1890
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1540 stars · 440 forks observed · 2026-08-28

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

A minimal, educational implementation of a generative adversarial network (GAN) in PyTorch, in roughly 50 lines of code. It trains generator and discriminator networks to match a shifted/scaled Gaussian distribution, accompanying a Medium blog post.

Use cases

  • learn how GANs work with a minimal code example
  • understand generator vs discriminator training in PyTorch
  • follow along with a GAN tutorial blog post
  • experiment with adversarial training on a simple distribution
  • starting point for building custom GANs in PyTorch

When to choose

  • you want a tiny, readable GAN example to learn from
  • you are teaching or studying adversarial network fundamentals
  • you need a minimal PyTorch GAN skeleton to extend

When to avoid

  • you need production-ready GAN training with modern architectures
  • you want image generation like DCGAN or StyleGAN
  • you need maintained code with recent PyTorch compatibility guarantees

Facets

learning-resource · maturity maintenance

machine-learning deep-learning machine-learning deep-learning artificial-intelligence python gan pytorch educational minimal-example

1 source

Member repositories

RepositoryRoleHealth v2
devnag/pytorch-generative-adversarial-networksmain32

For agents

markdown · JSON · MCP: product_card(name="devnag/pytorch-generative-adversarial-networks")

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