Inspiration

You've heard of Chat-GPT... we bring you Craft-GPT! A non-GPT machine learning algorithm to generate crochet toy patters on the demand

What it does

Via a discord bot, it takes a prompt, can be a theme, object or animal, and generates crochet patterns.

How we built it

We scraped over 600 crochet patterns from link and fed them into a modified RNN. This enabled the generative part of the algorithm which is then used in the discord bot to create the patterns on demand.

Challenges we ran into

loading the model after saving it from the collab environment in which it was trained caused issues which caused it to not be incorporated in the discord bot. then general brain issues as the day went on... one issue that took about 3 hours to solve was that we didn't add enough brackets in one place... Also the patterns it spat out needed interpretation by the reader to actually be useful. For each Toy made, the generated instructions produced 80-90% of the toy, but the last 10% had to come from artistic interpretation.

Accomplishments that we're proud of

the first 5 hours of the hack were very productive, got a model spitting out nonsense quite quickly. then we realised it needed to actually make structured nonsense, so it was back to the drawing board. but we did get one pattern that created a relatively good bunny.

What we learned

learnt how to make a discord bot, and also about web scraping. got experience with another ai architecture and enjoyed ourselves.

What's next for Craft-GPT

  • plug it into the discord bot
  • image support so that the input could be an image of something and the generated pattern would match it.

Built With

  • colab
  • crochet
  • discord
  • fluff
  • python
  • tensorflow
  • yarn
Share this project:

Updates