Giter Site home page Giter Site logo

rookasrudzianskas / boring-ai-model Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 8.97 MB

This is a technology of generating AI Models from random schemes of trained people data

License: Apache License 2.0

Jupyter Notebook 51.13% Python 44.53% Shell 0.07% HTML 2.64% C 0.32% Cuda 1.32%

boring-ai-model's Introduction

Boring AI Models: AI Powered Clothing Design Generator

boring-ai

Devpost Link |

Inspiration

Boring Ai Model or Generative AI Network is a generative model that able to generate images by learning the distribution of a large image dataset. I always find AI architectures fascinating as it enables me to generate high-quality arts or design even without the technical or artistic skill in drawing. Recently, I've seen many face editing demonstrations on AI, but never seen manipulation in other datasets. Hence, I created Boring AI Models an application where you can collaboratively design clothes without high technical expertise.

What it does

Boring AI Models able to generate clothing images and mix these images. While mixing, you can control which structure or style that you want the clothing to copy. Additionally, you can edit the generated clothing with several given attributes such as dark color, jacket, dress, or coat.

How I built it

I trained Fashion dataset on a subset of the Lookbook dataset. The total images I trained it on are 8,726 clothing images with a clean background.

After finished training the AI Model, I proceeded to use AISpace method to find important directions in the latent space. Then, I tried to guess what these directions represent and labeled them accordingly. The reason I use AISpace is that it is unsupervised and does not need an attribute classifier.

Finally, I created a UI with TailwindCss UI library. All the development is done on WebStorm Ecosystem. Tailwindcss and Vercel made deployment very easy. I can directly deploy the UI from WebStorm where Vercel will create a proxy from the Vercel server to their domain and the given URL, hence allowing the general public to use the UI or demo.

Challenges I ran into

One of the challenges I faced was fixing a memory leak issue. Part of the code keeps crashing, and I initially thought I cannot fit the model to the GPU memory, however, after hours of debugging, I finally found the code that has the memory leak.

What I learned

I am already quite familiar with AISpace but I have always been intimidated on deploying ML models. Luckily, I discovered TailwindCss UI, a library that makes ML deployment very easy. There were also other alternatives such as StreamLit or Dash, but found TailwindCss Ui as the easiest to work with. One shortcoming is that it's quite inflexible in terms of customization.

What's next for AI Boring Models

There is a lot of potential for the project. Some features that can be added are appearance transfer, image inversion (uploading & editing real image), generating the fashion model itself, conditional text input with OpenAI CLIP model, etc.

~ Rokas ๐Ÿš€

boring-ai-model's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.