← 开源

Generative image model with learned similarity measures

Python
增长势头
+024 小时新增 Star0.0%
446
Star
95
Fork
1
贡献者
创建于 2015-11-18 · 更新于 2026-11-11 · 今日第 23649 名
主要开发者
README

Autoencoding beyond pixels using a learned similarity measure

Anders Boesen Lindbo Larsen, Søren Kaae Sønderby, Hugo Larochelle, Ole Winther

Implementation of the method described in our Arxiv paper.

Abstract

We present an autoencoder that leverages learned representations to better measure similarities in data space. By combining a variational autoencoder with a generative adversarial network we can use learned feature representations in the GAN discriminator as basis for the VAE reconstruction objective. Thereby, we replace element-wise errors with feature-wise errors to better capture the data distribution while offering invariance towards e.g. translation. We apply our method to images of faces and show that it outperforms VAEs with element-wise similarity measures in terms of visual fidelity. Moreover, we show that the method learns an embedding in which high-level abstract visual features (e.g. wearing glasses) can be modified using simple arithmetic.

Getting started

We have tried automatizing everything from data fetching to generating pretty images. This means that you can get started in two steps:

  1. Install CUDArray and DeepPy.
  2. Run python celeba_aegan.py.

You can also try out the other scripts if you want to experiment with different models/datasets.

Examples

Coming soon ...

Implementation references

We wish to thank the authors of the following projects for inspiration. Our method would never have gotten off the ground without the insights gained from inspecting their code.

排名相邻

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载