Profile picture
Janelle Shane @JanelleCShane
, 14 tweets, 9 min read Read on Twitter
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.
ravelry.com/discuss/lazy-s… Close-up of the body knitted patch. Caption:
I'm training it on a combination of well-behaved swatch patterns from stitch-maps.com and a crowdsourced set of socks, tentacles, and unmentionables from 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. ravelry.com/patterns/libra… It is a simple blue tangled cord. Maybe something knitted, maybe a knot from the last chapter of the scout handbook.Row 7 (RS): Slm, knit to last 1 sts, knit to last st, k1. -–<br />
10: 12, 93, 10, 80, 20, 10, 18, 14, 15, 28, 28, 10, 88, and<br />
140 stsritcheston ror 36 sts, 510, 18, 20, 10, 180, 19, 1/2 18<br />
sts). Round 97: K1it.<br />
Row 10: Knit.<br />
Row 1: Knit.<br />
Row 1 (RS): Knit.<br />
Row 1: K1, k2tog 3 times, k1, slm; rep from to last st, k6, k1<br />
tbl, knb, kfb a1 3 sts, knit to last st, kfbf, k1 t40 sts sts,<br />
knit to last sto sath.
Reverss Shawl, test-knit by citikas
ravelry.com/discuss/lazy-s… A webby lacy triangle splatReverss shawl<br />
<br />
Row 1 (RS): K2tog, yo, k2, yo, k2tog, k2, repeat from to last st, yo, k1. <br />
Row 2: P2, yo, p2tog, k3, repeat from to last st, p1.
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. Waist Row RS: K1. Row 1 RS: P1, k2tog, yo twice more times. 10 sts). Rows 3, 4, 6, 3, 4, 4 times.<br />
<br />
Row 2 (RS): K1, work in pattern to end. Row 3 RS: Work in pattern to end.<br />
<br />
Row 4 RS: K1, M1, k1, p1, repeat from * to end.<br />
<br />
Repeat these 2 rows in pattern.<br />
<br />
Rows 3 and 8 WS: Work in pattern as set. Row 8 WS: P1. 6395, 71, 70, 77 sts.
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 ravelry.com/discuss/lazy-s… Ok, so i’m Playing with the Winder Socks “pattern”, and it has potential. It also has problems.<br />
I cast on 73 stitches, worked the row 1 ribbing for a bit before starting with the purl and mesh sections. It’s not 2x2 ribbing as written, but 4x2, with the exception of where the beginning/end of the round would be.<br />
So, I started the mesh, and…either i’ve screwed up, or it’s naturally increasing by 1 each round.Winder socks<br />
<br />
Row 1 (RS): K2, p2, k2, repeat from to last 3 sts, k3. <br />
Rows 2, 4, and 14: Purl. <br />
Row 3: K1, yo, ssk, yo, ssk, repeat from to last st, k1. <br />
Row 4: K2, yo, ssk, k2tog, yo, k1, repeat from to last st, k1.
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" ravelry.com/projects/mathi… A weird banded lacy pattern. Decreases in size.Close-up of a rather nice section of lacebackside of pattern. all sorts of different lacy scaly ribby textureshead-twig<br />
<br />
rows 1, 3, and 5 (rs): *p1, k3, p1, repeat from * to last st, p1. <br />
rows 2 and 4: k1, *p1, k1, p1, k1, repeat from *. <br />
row 5: *k1, p1, k1, p1, repeat from *. <br />
row 6: *p1, k1, p1, k1, repeat from *. <br />
row 7: *p1, k2tog, k1, yo, repeat from *. <br />
row 8: *p1, k1, p1, k1, repeat from *. <br />
row 9: *p1, k1, p1, k1, repeat from *. <br />
row 10: *p1, k1, p2, repeat from *. <br />
row 11: *p1, k2, p1, repeat from *. <br />
row 12: *k1, p
Some of the early patterns had promise. This is "Baby Leaf Lace".
Test-knitting: GloriaHanlon and Garpu Baby leaf lace is pretty promising. It’s paired up the increases and decreases perfectly and has almost exactly the same stitch count on each row. (I added an extra k1 to the end of row 7 to make it work out.)Here's my try on baby leaf lace: A smaller section of lace showing repeating patternbaby leaf lace<br />
<br />
row 1 (rs): k1, *yo, k2tog, yo, k2tog, k2, repeat from *. <br />
rows 2, 4, 6, and 8: purl. <br />
row 3: k1, *k2tog, yo, k1, yo, ssk, k1, repeat from * to last st, k1. <br />
row 5: k1, *k2tog, yo, k1, yo, ssk, k1, repeat from *. <br />
row 7: k1, *yo, k3, k2tog, repeat from *.
"Baby Leaf Lace", combined with "Offting Lace". I am astounded these patterns are knittable.
Test-knitting by xamonster ravelry.com/discuss/lazy-s…
"brachiopod 2 with added bed right frame" was knittable except for some weird row numbering.
Test-knitting by michaela112358 ravelry.com/discuss/lazy-s… brachiopod 2 with added bed right frame<br />
<br />
rows 1, 3, and 5 (rs): k1, *yo, k1, yo, ssk, ssk, k1, k2tog, yo, k1, repeat from *. <br />
rows 2, 4, 6, 8, 10, 12, 14, and 16: purl. <br />
rows 3 and 7: *k1, yo, ssk, k1, k2tog, yo, repeat from *. <br />
row 7: *k2, yo, k2tog, yo, ssk, repeat from * to last st, k1.
"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 stitch-maps.com by geckogirl stitch-maps.com/patterns/displ… Knitted swatch. An uneven open lace.stitch-maps representation of the patternphloem turn shawl from bunny ears increases<br />
<br />
row 1 (rs): k1, [yo] twice, k2, ssk, [k2tog, yo] twice, k1, [yo, k2tog] twice, k1. <br />
rows 2, 4, 6, 8, and 10: purl. <br />
row 3: k2, [[yo] twice, k2tog] twice, k1, [yo, k2tog] twice, k1, [yo, k2tog] twice, k1. <br />
row 5: k2, [yo, ssk, k2tog, yo] 7 times, k2. <br />
row 7: k3, k2tog, yo, k3, [yo, k2tog] twice, k2. <br />
row 9: k4, [yo, k2tog] twice, k4. <br />
row 10: k6, k2tog, [yo, k2tog] 3 times,
"Snowing Leaves"
Test-knit by DataSock
ravelry.com/discuss/lazy-s… Swatch is thick columns interlaced with huge irregular holes.snowing leaves<br />
<br />
row 1 (rs): k1, *yo, k2tog, k2, repeat from *. <br />
rows 2 and 4: purl. <br />
row 3: *k1, yo, k2tog, k1, repeat from *. <br />
row 5: *k1, yo, k1, k2tog, repeat from *. <br />
row 7: *k2tog, yo, k1, yo, ssk, repeat from *. <br />
row 9: *k2, yo, k2tog, repeat from *. <br />
row 11: *k2, yo, ssk, repeat from *.
A bit about why knitters are so good at debugging:
Missing some Tweet in this thread?
You can try to force a refresh.

Like this thread? Get email updates or save it to PDF!

Subscribe to Janelle Shane
Profile picture

Get real-time email alerts when new unrolls are available from this author!

This content may be removed anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member and get exclusive features!

Premium member ($3.00/month or $30.00/year)

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!