Coder Social home page Coder Social logo

chungimungi / generation-of-colors-using-bilstms Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 1.03 MB

A prompt based model that is trained to generate colors.

License: MIT License

Python 100.00%
natural-language-processing research color-generator lstm-neural-networks text

generation-of-colors-using-bilstms's Introduction

PWC arXiv

Color Prediction

This model implements a Bidirectional Long Short Term Memory that uses a custom dataset created by me. The model is trained on this dataset to predict colors based on a user inputted query. The model is trained on a relation between color names and their respecitve RGB values. A function is then called upon utilizing a dataset of english adjectives and a list of primary and secondary colors. Each color in the list is mapped to adjectives present in the dataset and then prompted through the intially trained model. It is then added back to the colors.csv file and then trained again to predict colors.

Model Hyperparameters

The model has 1.3M trainable parameters. The model is initially trained for 350 epochs on a batch size of 512 and for the Active Learning step a batch size of 1024 and 15 epochs. The first training loop the model achieves 73% training accuracy with 67% validation accuracy and the second training loop after the active learning step it achieves 75% training accuracy with 85% validation accuracy

model

Results

Prompt : Red

image

Prompt : Deep Purple

image

Prompt : Olive Green

image

Prompt : Bubblegum Pink

image

Prompt : Sunset

image

Possible Applications

  • Create realistic visual effects in movies and video games.

  • Develop new ways to design and manufacture products.

  • Improve the accuracy of medical imaging.

@misc{sinha2023generation,
      title={Generation Of Colors using Bidirectional Long Short Term Memory Networks}, 
      author={A. Sinha},
      year={2023},
      eprint={2311.06542},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

generation-of-colors-using-bilstms's People

Contributors

chungimungi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

generation-of-colors-using-bilstms's Issues

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.