Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexatsu/ai-texttoimage-generator
Ai for "Luminova" project
https://github.com/alexatsu/ai-texttoimage-generator
Last synced: about 1 month ago
JSON representation
Ai for "Luminova" project
- Host: GitHub
- URL: https://github.com/alexatsu/ai-texttoimage-generator
- Owner: alexatsu
- Created: 2023-06-19T21:00:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-23T04:11:27.000Z (about 1 year ago)
- Last Synced: 2024-10-30T00:03:17.953Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 1.21 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# luminova-ai-model
Part of the luminova project [link](https://github.com/AlexanderKudr/luminova)## Generate text caption from images
> Also you can upload images payload to CDN---
## To start using project, run:
1. "pip install pipenv --user" (or create requirements.txt file to run pip install -r requirements.txt, packages in Pipfile)
2. "pipenv install" (here venv should be created or run "pipenv shell" if it wasn't)
3. "pipenv run ai" or "pipenv run cdn"
4. run "pipenv run ai" with images in "img" folder
5. then add generated array to data in uploadToCDN.py file or use it as you wish> Optional
- "exit" in terminal to deactivate venv
- skip first step and install things manually through pip and activate venv by yourself## Here goes info and credits about model
tags:
- image-to-text
- image-captioning
license: apache-2.0
widget:
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/savanna.jpg
example_title: Savanna
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/football-match.jpg
example_title: Football Match
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/airport.jpg
example_title: Airport### nlpconnect/vit-gpt2-image-captioning
This is an image captioning model trained by @ydshieh in [flax ](https://github.com/huggingface/transformers/tree/main/examples/flax/image-captioning) this is pytorch version of [this](https://huggingface.co/ydshieh/vit-gpt2-coco-en-ckpts).
### The Illustrated Image Captioning using transformers
![](https://ankur3107.github.io/assets/images/vision-encoder-decoder.png)
* https://ankur3107.github.io/blogs/the-illustrated-image-captioning-using-transformers/