Generating images from caption and vice versa via CLIP-Guided Generative Latent Space Search

Federico A. Galatolo, Mario G. C. A. Cimino, Gigliola Vaglini
2/2/2021
94 citations
cs.NEcs.AIcs.LG

Official code: galatolofederico/clip-glass (179 stars, Python, GPL-3.0, last commit 2021-09-30).

Abstract

In this research work we present CLIP-GLaSS, a novel zero-shot framework to generate an image (or a caption) corresponding to a given caption (or image). CLIP-GLaSS is based on the CLIP neural network, which, given an image and a descriptive caption, provides similar embeddings.

Show full abstract

Differently, CLIP-GLaSS takes a caption (or an image) as an input, and generates the image (or the caption) whose CLIP embedding is the most similar to the input one. This optimal image (or caption) is produced via a generative network, after an exploration by a genetic algorithm. Promising results are shown, based on the experimentation of the image Generators BigGAN and StyleGAN2, and of the text Generator GPT2

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Repository for "Generating images from caption and vice versa via CLIP-Guided Generative Latent Space Search"

17923Python, ShellFeb 1, 20215 years agoGPL-3.0

Similar Papers

Cite this paper

@article{galatolo2021generating,
  title  = {Generating images from caption and vice versa via CLIP-Guided Generative Latent Space Search},
  author = {Federico A. Galatolo and Mario G. C. A. Cimino and Gigliola Vaglini},
  year   = {2021},
  eprint = {2102.01645},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.01645}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.01645.svg)](https://codeofpaper.com/paper/2102.01645)

Discussion