Browse Source

Ported my CLIP Interrogator over to colab to share

The CLIP Interrogator uses the OpenAI CLIP models to test a given image against a variety of artists, mediums, and styles to study how the different models see the content of the image. It also combines the results with BLIP caption to suggest a text prompt to create more images similar to what was given.
pull/1/head
pharmapsychotic 2 years ago
parent
commit
1080560c48
  1. 5
      README.md
  2. 474
      clip_interrogator.ipynb
  3. 4760
      data/artists.txt
  4. 274
      data/flavors.txt
  5. 89
      data/mediums.txt
  6. 190
      data/movements.txt

5
README.md

@ -1 +1,6 @@
# clip-interrogator
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/pharmapsychotic/clip-interrogator/blob/main/clip_interrogator.ipynb)
The CLIP Interrogator uses the OpenAI CLIP models to test a given image against a variety of artists, mediums, and styles to study how the different models see the content of the image. It also combines the results with BLIP caption to suggest a text prompt to create more images similar to what was given.

474
clip_interrogator.ipynb

File diff suppressed because one or more lines are too long

4760
data/artists.txt

File diff suppressed because it is too large Load Diff

274
data/flavors.txt

@ -0,0 +1,274 @@
#film
#myportfolio
#pixelart
#screenshotsaturday
#vfxfriday
1920s
1970s
1990s
20 megapixels
2d game art
32k huhd
35mm lens
3840x2160
3d
4k
8k
8k 3d
8k resolution
academic art
acrylic art
aftereffects
airbrush art
ambient occlusion
american propaganda
androgynous
angelic photograph
anime
apocalypse art
apocalypse landscape
art
art deco
art on instagram
artstation hd
artstation hq
artwork
associated press photo
atmospheric
award winning
award-winning
backlight
behance hd
biomorphic
black and white
black background
blueprint
bob ross
bokeh
bokeh
booru
bryce 3d
chalk art
charcoal drawing
chiaroscuro
childs drawing
cinematic
clean
cluttered
colorized
commission for
concept art
concert poster
constructivism
contest winner
creative commons attribution
creepypasta
criterion collection
cryengine
cubism
da vinci
dark
darksynth
datamosh
dc comics
demonic photograph
depth of field
destructive
detailed
detailed painting
deviantart
deviantart hd
digital illustration
digital painting
digitally enhanced
dramatic lighting
dslr
dslr camera
dutch golden age
dye-transfer
dystopian art
egyptian art
epic
ethereal
extremely gendered
fantasy
fauvism
feminine
feminine
film grain
filmic
filmic
fine art
flat shading
flemish baroque
flickering light
flickr
furaffinity
genderless
geometric
geometric
global illumination
glowing neon
goth
groovy
hall of mirrors
hard surface modeling
hd
hd mod
hdr
henry moore
high definition
high detail
high detailed
high quality
high quality photo
holographic
hyper-realistic
hyperrealism
ilford hp5
ilya kuvshinov
imax
impressionism
infrared
infrared
ink drawing
instax
intricate
iridescent
iso 200
kodak ektar
kodak gold 200
kodak portra
lomo
low poly
lowbrow
macro
macro photography
made of all of the above
made of beads and yarn
made of cardboard
made of cheese
made of crystals
made of feathers
made of flowers
made of glass
made of insects
made of liquid metal
made of mist
made of paperclips
made of plastic
made of rubber
made of trash
made of vines
made of wire
made of wrought iron
marble sculpture
marvel comics
masculine
masculine
matte background
matte drawing
matte painting
matte painting
matte photo
maximalist
minimalist
mist
mixed media
movie poster
national geographic photo
nightmare
octane render
oil on canvas
ominous vibe
outrun
panorama
parallax
pencil sketch
phallic
photo
photo taken with ektachrome
photo taken with fujifilm superia
photo taken with nikon d750
photo taken with provia
photocollage
photocopy
photoillustration
photorealistic
physically based rendering
picasso
pixel perfect
pixiv
playstation 5 screenshot
polished
polycount
pop art
post processing
poster art
pre-raphaelite
prerendered graphics
provia
ps1 graphics
psychedelic
quantum wavetracing
reimagined by industrial light and magic
renaissance painting
rendered in cinema4d
rendered in maya
rendered in unreal engine
retrowave
rococo
rough
rtx
rtx on
seapunk
sharp focus
shot on 70mm
sketchfab
skeuomorphic
smooth
soviet propaganda
speedpainting
stained glass
steampunk
stipple
stock photo
stockphoto
storybook illustration
studio lighting
studio photography
sunrays shine upon it
surrealist
symmetrical
synthwave
tattoo
terragen
thx sound
tilt shift
tintype photograph
trance compilation cd
ukiyo-e
ultra detailed
ultra hd
ultra realistic
ultrafine detail
unreal engine
unreal engine
vaporwave
velvia
vivid colors
volumetric lighting
voxel art
vray tracing
wallpaper
watercolor
wavy
white background
wiccan
wimmelbilder
windows vista
windows xp
woodcut
xbox 360 graphics
y2k aesthetic
zbrush

89
data/mediums.txt

@ -0,0 +1,89 @@
a 3D render
a black and white photo
a bronze sculpture
a cartoon
a cave painting
a charcoal drawing
a child's drawing
a color pencil sketch
a colorized photo
a comic book panel
a computer rendering
a cross stitch
a cubist painting
a detailed drawing
a detailed matte painting
a detailed painting
a diagram
a digital painting
a digital rendering
a drawing
a fine art painting
a flemish Baroque
a gouache
a hologram
a hyperrealistic painting
a jigsaw puzzle
a low poly render
a macro photograph
a manga drawing
a marble sculpture
a matte painting
a microscopic photo
a mid-nineteenth century engraving
a minimalist painting
a mosaic
a painting
a pastel
a pencil sketch
a photo
a photocopy
a photorealistic painting
a picture
a pointillism painting
a polaroid photo
a pop art painting
a poster
a raytraced image
a renaissance painting
a silk screen
a sketch
a statue
a still life
a stipple
a stock photo
a storybook illustration
a surrealist painting
a surrealist sculpture
a tattoo
a tilt shift photo
a watercolor painting
a wireframe diagram
a woodcut
an abstract drawing
an abstract painting
an abstract sculpture
an acrylic painting
an airbrush painting
an ambient occlusion render
an anime drawing
an art deco painting
an art deco sculpture
an engraving
an etching
an illustration of
an impressionist painting
an ink drawing
an oil on canvas painting
an oil painting
an ultrafine detailed painting
chalk art
computer graphics
concept art
cyberpunk art
digital art
egyptian art
lineart
pixel art
poster art
vector art

190
data/movements.txt

@ -0,0 +1,190 @@
ASCII art
Abstract art
Abstract expressionism
Abstract illusionism
Academic art
Action painting
Aestheticism
Afrofuturism
Altermodern
American Barbizon school
American Scene Painting
American impressionism
American realism
Analytical art
Antipodeans
Arabesque
Arbeitsrat für Kunst
Art & Language
Art Brut
Art Deco
Art Informel
Art Nouveau
Art photography
Arte Povera
Arts and Crafts movement
Ashcan School
Assemblage
Australian Tonalism
Auto-destructive art
Barbizon school
Baroque
Bauhaus
Bengal School of Art
Berlin Secession
Black Arts Movement
Brutalism
COBRA
Classical Realism
Cloisonnism
Color Field
Computer art
Conceptual art
Concrete art
Constructivism
Context art
Crystal Cubism
Cubism
Cubo-Futurism
Cynical realism
Dada
Danube school
Dau-al-Set
De Stijl (also known as Neoplasticism)
Deconstructivism
Digital art
Ecological Art
Environmental art
Excessivism
Expressionism
Fantastic realism
Fantasy Art
Fauvism
Feminist art
Figuration Libre
Figurative art
Fine Art
Fluxus
Folk art
Funk art
Futurism
Generative art
Geometric abstract art
Gothic art
Graffiti/Street Art
Gutai group
Happening
Harlem Renaissance
Heidelberg School
Hudson River School
Hurufiyya
Hypermodernism
Hyperrealism
Impressionism
Incoherents
Institutional critique
Interactive Art
International Gothic
International Typographic Style
Kinetic Pointillism
Kinetic art
Kitsch movement
Land art
Les Automatistes
Les Nabis
Letterism
Light and Space
Lowbrow
Lyco art
Lyrical abstraction
Magic realism
Mail art
Mannerism
Massurrealism
Maximalism
Metaphysical painting
Mingei
Minimalism
Modern European ink painting
Modernism
Modular constructivism
Naive art
Neo-Dada
Neo-Fauvism
Neo-expressionism
Neo-figurative
Neo-primitivism
Neo-romanticism
Neoclassicism
Neogeo (art)
Neoism
Net art
New Objectivity
New Sculpture
Northwest School
Nuclear art
Objective abstraction
Op Art
Orphism
Panfuturism
Paris School
Photorealism
Pixel art
Plasticien
Plein Air
Pointillism
Pop Surrealism
Pop art
Post-impressionism
Postminimalism
Pre-Raphaelitism
Precisionism
Primitivism
Private Press
Process art
Psychedelic art
Purism
Qajar art
Quito School
Rasquache
Rayonism
Realism
Regionalism
Remodernism
Renaissance
Retrofuturism
Rococo
Romanesque
Romanticism
Samikshavad
Serial art
Shin hanga
Shock art
Socialist realism
Sots art
Space art
Street art
Stuckism
Sumatraism
Superflat
Suprematism
Surrealism
Symbolism
Synchromism
Synthetism
Sōsaku hanga
Tachisme (aka Informel)
Temporary art
Tonalism
Toyism
Transgressive art
Ukiyo-e
Underground comix
Unilalianism
Vancouver School
Vanitas
Verdadism
Video art
Viennese Actionism
Visual Art
Vorticism
Loading…
Cancel
Save