Generate automatic text captions for a photo collection using the included pretrained model
Study how a CNN and RNN are combined for image-to-text tasks as a research reference
Fine-tune the image captioning model on a custom dataset of labeled photos
Understand early deep-learning image captioning through a readable Torch implementation
| karpathy/neuraltalk2 | dibgerge/ml-coursera-python-assignments | probml/pml-book | |
|---|---|---|---|
| Stars | 5,579 | 5,566 | 5,563 |
| Language | Jupyter Notebook | Jupyter Notebook | Jupyter Notebook |
| Setup difficulty | hard | easy | easy |
| Complexity | 4/5 | 1/5 | 1/5 |
| Audience | researcher | researcher | researcher |
Figures from each repo's GitHub metadata at analysis time.
Requires an NVIDIA GPU with CUDA and the Lua Torch framework, non-trivial to install on modern systems, author recommends newer alternatives for production use.
NeuralTalk2 is a research project that automatically generates text captions for images. You give it a photo and it produces a sentence describing what is in the picture, for example "a dog sitting on a grass field" or "two people riding bicycles on a street." This kind of task is called image captioning. The system works by combining two components. A convolutional neural network looks at the image and extracts a compact summary of its visual content. A recurrent neural network then takes that summary and generates a sentence word by word. The two components are trained together on large datasets of images paired with human-written captions. This release was written by Andrej Karpathy and is significantly faster than an earlier version called NeuralTalk. It runs on a graphics card, processes images in batches, and can fine-tune the image recognition component during training. According to the README, good models can be trained in two to three days with this setup, and the pretrained model scored competitively on a public image captioning benchmark. The code is written in Lua using a framework called Torch, which was a popular research tool at the time. It requires a compatible NVIDIA graphics card for training. A pretrained model is available for people who want to run captions on their own images without training from scratch. The author notes that Google Brain later released a similar model that performs better, and suggests using that for production purposes. This repository is kept up for educational reference and as a Torch implementation of the approach.
Automatically generates a text caption for any image using deep learning, give it a photo and it produces a sentence like "a dog sitting on a grass field". Educational Lua/Torch reference implementation.
Mainly Jupyter Notebook. The stack also includes Lua, Torch, CUDA.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.