• Stars
    star
    123
  • Rank 288,576 (Top 6 %)
  • Language
    Jupyter Notebook
  • Created about 3 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

code for CLIPDraw

CLIPDraw: Synthesize drawings to match a text prompt!

This work presents CLIPDraw, an algorithm that synthesizes novel drawings based on natural language input. CLIPDraw does not require any training; rather a pre-trained CLIP language-image encoder is used as a metric for maximizing similarity between the given description and a generated drawing. Crucially, CLIPDraw operates over vector strokes rather than pixel images, a constraint that biases drawings towards simpler human-recognizable shapes. Results compare between CLIPDraw and other synthesis-through-optimization methods, as well as highlight various interesting behaviors of CLIPDraw, such as satisfying ambiguous text in multiple ways, reliably producing drawings in diverse artistic styles, and scaling from simple to complex visual representations as stroke count is increased.

Copyright 2022 Kevin Frans

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

More Repositories

1

variational-autoencoder

generate MNIST using a Variational Autoencoder
Python
704
star
2

deepcolor

Automatic coloring and shading of manga-style lineart, using Tensorflow + cGANs
Python
552
star
3

jax-diffusion-transformer

Implementation of Diffusion Transformer (DiT) in JAX
Python
235
star
4

generative-adversial

image generation via GANs
Python
211
star
5

feature-visualization

tensorflow example of visualizing features from a convnet
Python
151
star
6

openai-cartpole

random search, hill climbing, policy gradient
Python
138
star
7

parallel-trpo

A parallel version of Trust Region Policy Optimization
Python
65
star
8

powderworld

Code for Powderworld: A Platform for Understanding Generalization via Rich Task Distributions
Python
63
star
9

jax-flow

Flow-matching algorithms in JAX
Python
56
star
10

draw-color

a DRAW model for colored images in tensorflow
Python
49
star
11

fre

Code for "Unsupervised Zero-Shot RL via Functional Reward Representations"
Python
47
star
12

rlbase_stable

Python
37
star
13

cs224-solutions

code for cs224 problem sets
Python
28
star
14

twitch

generate realistic looking twitch chat
TypeScript
28
star
15

Easy21-RL

solutions to David Silver's RL course project Easy21
Python
19
star
16

learn

16
star
17

jax-vqvae-vqgan

JAX implementation of VQVAE/VQGAN autoencoders (+FSQ)
Python
16
star
18

Unlimited-Bullet-Festival

A scripting language for bullets in video games
C#
14
star
19

generative-model

Brief Exploration of Generative Models
Jupyter Notebook
10
star
20

touhou

engine for web-based bullet dodging game
JavaScript
9
star
21

neural-style

simplified version of neural art
Lua
8
star
22

latent-attention

Attention on the latent vector for a VAE
Python
8
star
23

jax-fid-parallel

Frechet inception distance (FID) evaluation in JAX
Python
7
star
24

kgpt

Python
6
star
25

HackChair

JavaScript
4
star
26

peer-to-peer-mmo

a peer to peer solution to networking for Javascript in-browser games
JavaScript
4
star
27

inpainting

aar project
Python
4
star
28

BaseBoost

a base for building Boost to link C++ with python
CMake
3
star
29

suwacount

count your youtube views
JavaScript
3
star
30

RealTimePixi

a real-time action game in Javascript and Node.js.
CSS
3
star
31

Tensorflow

examples and stuff from my tensorflow adventure
Python
2
star
32

oceanworld-qd

code for "Quality Diversity: Evolving Ocean Creatures"
Python
2
star
33

TWITCH-CHAT-VS-THE-WORLD

HTML5 Realtime Game integrating Twitch Chat
JavaScript
2
star
34

Communication

multi-agent communication
Python
2
star
35

OSU-HTML5-via-Unity

C#
2
star
36

LeagueRemote

play League of Legends from iPhone or Web Browser
JavaScript
2
star
37

Proc

cellular automata stuff
Lua
2
star
38

large-generation

cppn, gan, vae to generate bigger images
Python
2
star
39

MetaTwitch

analyses twitch chat
JavaScript
1
star
40

Website

1
star
41

Kano

Feedforward Neural network library for NPM that can handle backprop
JavaScript
1
star
42

2hu

C#
1
star
43

rl-qlearn

Varieties of Q-Learning flavors in Tensorflow
Python
1
star
44

rl-imagegen

Image generation through non-differentiable methods
Python
1
star
45

TacoPlugin

1
star
46

DECA

JavaScript
1
star
47

6073-game4

ShaderLab
1
star
48

The-Goose-Game

Objective-C
1
star
49

gamdev-workshop

@gunnhacks
HTML
1
star
50

TacoPlugins

1
star