becomingsoup - Ari's Art Blog
Ari's Art Blog

31 | they/them | eats too much soup and probably will turn into it somedaykind of (very!!) obsessed with robotsInsta @becomingsoup (I post art there more often)

960 posts

The World Through The Eyes Of A Neural Net

The world through the eyes of a neural net

What would happen if I fed a video to an AI that turns images into blobs of labeled objects, and then fed THAT video to another AI that attempts to reconstruct the original picture from those labeled blobs?

I used runwayml’s new chaining feature to tie two algorithms together. The first is DeepLab, a neural net that detects and outlines objects in an image. In other words, it’s a segmentation algorithm.

So DeepLab segments this frame of the Last Jedi:

luke holding a lightsaber on crait

into this schematic (I added the labels so you can see the categories).

luke-shaped blob holding a blob labeled baseball bat

You will notice that DeepLab correctly detected Luke as a person (in fact we will see later that DeepLab is often overgenerous in its person detection), but that without a category for “lightsaber” it has decided to go with “baseball bat”.

The second algorithm I used is NVIDIA’s SPADE, which I’ve talked about before. Starting from a segmented image like the one above, SPADE tries to paint in all the missing detail, including lighting and so forth. Here’s its reconstruction of the original movie frame:

a highly-distorted human in what might vaguely be a baseball jersey

It has decided to go with an aluminum bat and, perhaps sensibly, has decided to paint the “human” blob with something resembling a baseball jersey and cap. That same colorfest shirt actually shows up fairly frequently in SPADE’s paintings.

So, feeding each frame through DeepLab and then SPADE in this way, we arrive at the following reconstruction of the Crait fight scene from The Last Jedi. (The background flashes a lot b/c the AIs can’t make up their mind about what the salt planet’s made of - so be aware if you’re sensitive to that sort of thing).

https://youtu.be/sEd1EO8eIfw

I’d like to highlight a couple of my favorite frames.

mid-fight, with luke and kylo dodging around each other

DeepLab is not sure how to label the salt flat they’re fighting on, so sometimes it goes with pavement or sand. Here it has gone with snow.

people-shaped blobs against a background mostly labeeld snow

SPADE, therefore, faced with two person-blobs on snow, decides to put the people in snowsuits. Also there is a surfboard.

person-shaped blobs are standing on snow and appear to be wearing snowsuits

For this frame, DeepLab makes a couple of choices that make life difficult for SPADE.

luke standing facing kylo, with at-ats in the backgrounnd

DeepLab, in its eagerness to see humans everywhere, has decided the at-ats in the background are people. It also decides that part of Kylo is a fire hydrant.

luke and at-ats are segmented as people. kylo is mostly identified as person, except for a floating blob of fire hydrant

SPADE has to just work with it. The person-blobs in the background become legs in snowsuits. It does its best attempt at a fire hydrant floating in a sea of “person” with flecks of car.

the fire hydrant is hilarious

It will be amazing to see what these kinds of reconstructions end up looking like as algorithms like DeepLab and SPADE get better and better at their jobs. Could one segment a scene from Pride and Prejudice and replace all the “human” labels with “bear”? Or “refrigerator”?

Experiment with runwayml here!

You can also check out a cool variation on this where Jonathan Fly gives SPADE not a DeepLab segmentation but frames from cartoons or 8-bit video games. 

Bonus material: more Star Wars reconstruction attempts (did you catch the teddy bears in The Last Jedi?) and an epic Inception fail.

  • frogluvr29
    frogluvr29 liked this · 2 years ago
  • theirrationalfan
    theirrationalfan liked this · 4 years ago
  • temporal-displacement-box
    temporal-displacement-box reblogged this · 4 years ago
  • temporal-displacement-box
    temporal-displacement-box liked this · 4 years ago
  • trist-pkmngal
    trist-pkmngal reblogged this · 4 years ago
  • swordmouse
    swordmouse reblogged this · 4 years ago
  • swordmouse
    swordmouse liked this · 4 years ago
  • slamtarotime
    slamtarotime reblogged this · 5 years ago
  • slamtarotime
    slamtarotime liked this · 5 years ago
  • fizzydasoda
    fizzydasoda liked this · 5 years ago
  • angel-arising
    angel-arising liked this · 5 years ago
  • yayification
    yayification liked this · 5 years ago
  • doeskies
    doeskies liked this · 5 years ago
  • nightbringer117
    nightbringer117 reblogged this · 5 years ago
  • nightbringer117
    nightbringer117 liked this · 5 years ago
  • traneoftner
    traneoftner liked this · 5 years ago
  • trantares
    trantares reblogged this · 5 years ago
  • trantares
    trantares liked this · 5 years ago
  • greenhairedfae
    greenhairedfae liked this · 5 years ago
  • alt-plus-w
    alt-plus-w reblogged this · 5 years ago
  • helperbot-5000
    helperbot-5000 reblogged this · 5 years ago
  • corvuscryptoleucus
    corvuscryptoleucus liked this · 5 years ago
  • bananacreamphi
    bananacreamphi reblogged this · 5 years ago
  • rogue-ai-cat
    rogue-ai-cat reblogged this · 5 years ago
  • eunuch-circumcision
    eunuch-circumcision reblogged this · 5 years ago
  • eunuch-circumcision
    eunuch-circumcision liked this · 5 years ago
  • eldrinch
    eldrinch reblogged this · 5 years ago
  • jangling-girl
    jangling-girl liked this · 5 years ago
  • jamofalifetime
    jamofalifetime reblogged this · 5 years ago
  • glass--beach
    glass--beach reblogged this · 5 years ago
  • lapilula
    lapilula liked this · 5 years ago
  • thornshrike
    thornshrike reblogged this · 5 years ago
  • aradia-made-of-time
    aradia-made-of-time liked this · 5 years ago
  • loridrabbles
    loridrabbles liked this · 5 years ago
  • bananasofthorns
    bananasofthorns liked this · 5 years ago
  • thornshrike
    thornshrike liked this · 5 years ago
  • radlovedetective
    radlovedetective liked this · 5 years ago
  • banbansparkly
    banbansparkly liked this · 5 years ago
  • maulusque
    maulusque reblogged this · 5 years ago
  • ravielie
    ravielie liked this · 5 years ago
  • keiko-kat
    keiko-kat reblogged this · 5 years ago
  • keiko-kat
    keiko-kat liked this · 5 years ago
  • mailormoon
    mailormoon liked this · 5 years ago
  • retrowaifu
    retrowaifu liked this · 5 years ago
  • heeyaw-junction
    heeyaw-junction liked this · 5 years ago
  • catgirlmitaka
    catgirlmitaka reblogged this · 5 years ago

More Posts from Becomingsoup

6 years ago

janeway: *slaps nebula* this bad boy can fit so much coffee in it


Tags :
6 years ago
Second Set Of Inktober Thingies!!
Second Set Of Inktober Thingies!!
Second Set Of Inktober Thingies!!
Second Set Of Inktober Thingies!!
Second Set Of Inktober Thingies!!

Second set of inktober thingies!!


Tags :
5 years ago
I Made A Very Relatable Meme For All You Fellow Robot Lovers Out There

I made a very relatable meme for all you fellow robot lovers out there


Tags :
5 years ago

Understand that the call to abolish police is also a call to allocate adequate funds and resources to mental health services, livable wages, food security and all other societal factors which facilitate the ‘crimes’ you believe we need police protection from.

6 years ago

Hey so I know I don’t post much, but if tumblr gets horrible after the 17th, here’s where you can find me

instagram: becomingsoup

twitter: becomingsoup

(I’m real bad at twitter but I’ll give it a shot)