Janelle Shane+ Your Authors @JanelleCShane Research Scientist in optics. Plays with neural networks. Avid reader, writer, and player of Irish flute. she/her. wandering.shop/@janellecshane Feb. 17, 2018 + Your Authors

So I'm doing a project where I'm training a neural network to generate new knitting patterns. It's going very well.
This is "Mystery lace", test-knit by DataSock.
 https://www.ravelry.com/discuss/lazy-stupid-and-godless/3718985/426-450 

I'm training it on a combination of well-behaved swatch patterns from  http://stitch-maps.com  and a crowdsourced set of socks, tentacles, and unmentionables from  http://ravelry.com  . And some good sports at Ravelry have been kind enough to test-knit.

This was the first pattern the neural net made. It didn't have a title because the neural net hadn't learned to do titles yet.
Test-knit by emmasee100.  https://www.ravelry.com/patterns/library/first-training-checkpoint 

Reverss Shawl, test-knit by citikas
 https://www.ravelry.com/discuss/lazy-stupid-and-godless/3718985/226-250#241 

I should probably note that I have just as much knitting knowledge as the neural net: that is, none. There are way smarter ways to build a knitting algorithm. Very early on, I realized humor would be my goal. Hence the tentacles in the dataset.

Nobody attempted to test-knit this one, for some reason.

I learned knitters are amazing at debugging, used to fixing all sorts of pattern problems. They took most of the neural net's mistakes in stride.
Test-knitting: CorvusAlatus  https://www.ravelry.com/discuss/lazy-stupid-and-godless/3718985/251-275#267 

The neural net did learn to give the patterns titles. This one's called "Head-Twig". Test-knitting: mathildeknits who said "this one made me grow antlers"  https://www.ravelry.com/projects/mathildeknits/ai-weird-weird 

Some of the early patterns had promise. This is "Baby Leaf Lace".
Test-knitting: GloriaHanlon and Garpu

"Baby Leaf Lace", combined with "Offting Lace". I am astounded these patterns are knittable.
Test-knitting by xamonster  https://www.ravelry.com/discuss/lazy-stupid-and-godless/3718985/326-350#330 

"brachiopod 2 with added bed right frame" was knittable except for some weird row numbering.
Test-knitting by michaela112358  https://www.ravelry.com/discuss/lazy-stupid-and-godless/3718985/401-425#407 

"phloem turn shawl from bunny ears increases"
Disappointed people by not actually containing any "bunny ears increases" which are a real thing.
Test-knit and mapped on  http://stitch-maps.com  by geckogirl  https://stitch-maps.com/patterns/display/phloem-turn-shawl-from-bunny-ears-increases/ 

"Snowing Leaves"
Test-knit by DataSock
 https://www.ravelry.com/discuss/lazy-stupid-and-godless/3718985/426-450#443 

A bit about why knitters are so good at debugging:


You can follow @JanelleCShane.



Bookmark

____
Tip: mention @threader_app on a Twitter thread with the keyword “compile” to get a link to it.

Enjoy Threader? Sign up.

Since you’re here...

... we’re asking visitors like you to make a contribution to support this independent project. In these uncertain times, access to information is vital. Threader gets 1,000,000+ visits a month and our iOS Twitter client was featured as an App of the Day by Apple. Your financial support will help two developers to keep working on this app. Everyone’s contribution, big or small, is so valuable. Support Threader by becoming premium or by donating on PayPal. Thank you.


Follow Threader