🖼️
Image to Text Generation
A Jupyter notebook that generates a caption for an image. It loads a pretrained Vision Encoder-Decoder model (bipin/image-caption-generator) via Hu…
A Jupyter notebook that generates a caption for an image. It loads a pretrained Vision Encoder-Decoder model (bipin/image-caption-generator) via Hu…
A Jupyter notebook that generates a caption for an image. It loads a pretrained Vision Encoder-Decoder model (bipin/image-caption-generator) via Hugging Face Transformers and produces a text description of a given image.
Image_to_text_generation.ipynb in Jupyter or Google Colab.img_name to the path of your image, e.g. img_name = "dog.jpg".bipin/image-caption-generator model and prints a generated caption such as:A woman in a white shirt and blue jeans is running on the sidewalk.
pip install transformers torch pillow
Open Image_to_text_generation.ipynb in Jupyter (or Google Colab) and run the cells.