SkyKnit: When knitters teamed up with a neural network

lewisandquark:

image

[Make Caows and Shapcho - MeganAnn]

image

[Pitsilised Koekirjad Cushion Sampler Poncho - Maeve]

image

[Lacy 2047Ā -Ā michaela112358]

I use algorithms called neural networks to write humor. What’s fun about neural networks is they learn by example - give them a bunch of some sort of data, and they’ll try to figure out rules that let them imitate it. They power corporate finances, recognize faces, translate text, and more. I, however, like to give them silly datasets. I’ve trained neural networks to generate newĀ paintĀ colors, newĀ Halloween costumes, and newĀ candy heart messages. When the problem is tough, the results are mixed (there was that one candy heart that just said HOLE).

One of the toughest problems I’ve ever tried? Knitting patterns.

I knew almost nothing about knitting whenĀ @JohannaB@wandering.shopĀ sent me the suggestion one day. She sent me to theĀ Ravelry knitting site, and to its adults-only, often-indecorousĀ LSG forum, who as you will see are amazing people. (When asked how I should describe them, one wrote ā€œdon’t forget the glitter and swearing!ā€)

And so, we embarked uponĀ Operation Hilarious Knitting Disaster.

The knitters helped me crowdsource a dataset of 500 knitting patterns, ranging from hats to squids to unmentionables. JC Briar exported another 4728 patterns fromĀ the siteĀ stitch-maps.com.Ā 

I gave the knitting patterns to a couple of neural networks that I collectively named ā€œSkyKnitā€. Then, not knowing if they had produced anything remotely knittable, I started posting the patterns. Here’s an early example.

image

MrsNoddyNoddy wrote, ā€œit’s difficult to explain why 6395, 71, 70, 77 is so asthma-inducingly funny.ā€ (It seems that a 6000-plus stitch count is, as GloriaHanlon put it,Ā ā€œoptimismā€).Ā 

As training progressed, and as I tried some higher-performance models, SkyKnit improved. Here’s a later example.

image

Even at its best, SkyKnit had problems. It would sometimes repeat rows, or leave them out entirely. It could count rows fairly reliably up to about 22, but after that would start haphazardly guessing random largish numbers. SkyKnit also had trouble counting stitches, and would confidently declare at the end of certain lines that it contained 12 stitches when it was nothing of the sort.

But the knitters began knitting them. This possibly marks one of the few times in history when a computer generated code to be executed by humans.

image

[Mystery laceĀ - datasock]

image

[Reverss ShawlĀ - citikas]

image

[Frost - Odonata]

The knitters didn’t follow SkyKnit’s directions exactly, as it turns out. For most of its patterns, doing them exactly as written would result in the pattern immediately unraveling (due to many dropped stitches), or turning into long whiplike tentacles (due to lots of leftover stitches). Or, to make the row counts match up with one another, they would have had to keep repeating the pattern until they’d reached a multiple of each row count - sometimes this was possible after a few repeats, while other times they would have had to make the pattern tens of thousands of stitches long. And other times, missing rows made the directions just plain impossible.Ā 

So, the knitters just started fixing SkyKnit’s patterns.

Knitters are very good at debugging patterns, as it turns out. Not only are there a lot of knitters who are coders, but debugging is such a regular part of knitting that the complicated math becomes second nature. Notation is not always consistent, some patterns need to be adjusted for size, and some simply have mistakes. The knitters were used to taking these problems in stride. When working with one of SkyKnit’s patterns, GloriaHanlon wrote, ā€œI’m trying not to fudge too much, basically working on the principle that theĀ pattern was written by an elderly relative who doesn’t speak much English.ā€

Each pattern required a different debugging approach, and sometimes knitters would each produce their own very different-looking versions. Here are three versions ofĀ ā€œPaw Not Pointed 2 Stitch 2″.

image
image
image

[Top - ActualJellyfish;Ā Middle - LadyAurian;Ā Bottom (sock version) - ShoelessJane]

Once, knitter MeganAnn came across a stitch that didn’t even exist (something SkyKnit called ’pbk’). So she had to improvise. ā€œI googled it and went with the first definition I got, which was ā€˜place bead and knit’.ā€ The resulting pattern is ā€œRibbed Rib Ribā€ below (note bead).

image

[Ribbed Rib Rib - MeganAnn]

Even debugged, the patterns were weird. Like, really, really nonhumanly weird.

ā€œI love how organic it comes out,ā€œ wrote Vastra. SylviaTX agreed, loving ā€œthe organic seeming randomness. Like bubbles on water or something,ā€Ā 

SkyKnit’s patterns were also a pain.Ā Michaela112358 called Row 15 of Mystery Lace (above) ā€œa bit of a head melterā€, commenting that it ā€œlacked the rhythm that you tend to get with a normal patternā€. Maeve_ish wrote that Shetland Bird Pat ā€œmade my brain hurt so I went to bed.ā€ ShoelessJane asked, ā€œOkay, now who here has read Snow Crash?ā€

image

[Winder Socks (2 versions) - TotesMyName]

ā€œI was laughing a few days ago because I was trying to math a Skyknit pattern and my brain…froze. Like, no longer could number at all. I stared blankly at my scribbles and at the screen wondering what had happened til somehow I rebooted. Yup, Skyknit crashed my brain.ā€ - Rayn63

image

[Paw chain 2Ā -Ā HMSChicago]

On the pattern SkyKnit called ā€œCherry and Acorns Twisted Toā€:

ā€œCouple notes on the knitting experience, which while funny wasn’t terribly pleasurable: Because there’s no rhythm or symmetry to the pattern, I felt I was white-knuckling it through each line, really having to concentrate. There are also some stitch combinations that aren’t very comfortable to execute physically, YO, SSK in particular.

That said, I’m nearly tempted to add a bit of random AI lace to a project, perhaps as cuffs on a sweater or a short-row lace panel in part of a scarf, likeĀ Sylvia McFaddenĀ does in many of her shawl designs. As another person in the thread said, it would add a touch of spider-on-LSD.ā€ -SarahScully

image

[cherry and acorns twisted toĀ - Sarah Scully]

BridgetJ’s comments onĀ ā€œButnet Scarfā€:

ā€œFour repeats in to this oddball, daintily alien-looking 8-row lace pattern, and I have, improbably, begun to internalize it and get in to a rhythm like every other lace pattern.

I still have a lingering suspicion that I’m knitting a pattern that could someday communicate to an AI that I want to play a game of Global Thermonuclear War, but I suppose at least I’ll have a scarf at the end of it?ā€ -BridgetJ

image

[butnet scarfĀ - BridgetJ]

There was also this beauty of a pattern, that SkyKnit called ā€œTiny Baby Whale Sotoā€. GloriaHanlon managed somehow to knit it and described it asĀ ā€œa bona fide eldritch horror. Think Slenderman meets Cthulu and you wouldn’t be far wrong.ā€

image

[Tiny Baby Whale Soto - GloriaHanlon]

Other than being a bit afraid of Tiny Baby Whale Soto, the knitters seem happy to do the bidding of SkyKnit, brain melts and all.

ā€œI cast on for a lovely MKAL with a designer I totally trust and became immediately suspicious because the pattern made sense. All rows increase in an orderly manner. There are no ā€œhuh?ā€ moments. There are no maths at all…it has all been done for me. I thought I would be happy, yo. Instead, I am kind of missing the brain scrambling and I keep looking for pigs and tentacles. Go figure.ā€ - Rayn63

image

Check out the rest of the SkyKnit-generated patterns, and the glorious rainbow of weird test-knits atĀ SkyKnit: The CollectionĀ and InfiKnit.Ā 

There’s also a great article in the Atlantic that talks a bit more about the debugging.Ā 

If you feel so inspired (and don’t mind the kind-hearted yet vigorous swearing), join the conversation on theĀ LSG Ravelry SkyKnit threadĀ - many of SkyKnit’s creations have not yet been test-knit at all, and others transform with every new knitter’s interpretation. Compare notes, commiserate, and do SkyKnit’s inscrutable bidding!

Heck yeah there is bonus material this week. Have some neural net-generated knitting & crochet titles. Some of them are mixed with metal band names for added creepiness. Enter your email here to get more like these:

Chicken Shrug
Snuggle Features
Cartube Party Filled Booties
Corm Fullenflops
Womp Mittens
Socks of Death
Tomb of Sweater
Shawl Ruins

(via thehotgirlproject)

(via krawps)

fuckersupreme:

toesucker:

ok, let me explain

I’ve never really done anything like this before. I just wanted to make a comic based on the greatest post on this website and I wanted it to become more and more detailed as it went along. It took me a little over a year to finish and it was all made without using a tablet.

Please click on the individual images to get the full experience. Thank you.

Original post by @fuckersupreme

This is the fucking best thing in the entire world. I love this so much!

(via serotoninbluemmy)

wheresanegg:

i’ve seen a lot of really messed up images in my time on the internet, weird fetish shit, even a few IRL gore images but nothing. NOTHING evokes such a deep seated, gut wrenching fear in me like this image of the fucking water slide from Action Park with the loop in it

image

(via hotvampireadjacent)

When will i get my government assigned group chat

(via egberts)

thejunesky:

shakescene:

moranginhos:

moranginhos:

mood: bedridden victorian child

image
image
image
image

papah …… am i going to die ?

pĆ¢pâ…………i’m colde ….

will grƔndmama be there? in the light??

(via hotcommunist-deactivated2019032)