# neuraltalk2

Efficient Image Captioning code in Torch, runs on GPU

Canonical page: https://www.reposhelf.co.uk/projects/github/karpathy/neuraltalk2.html

- Project ID: karpathy/neuraltalk2
- Source: GitHub
- Original project: https://github.com/karpathy/neuraltalk2
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Not recorded
- Licence: No licence detected
- Repository availability checked: 2026-11-04T16:45:11.682Z
- Demo page loaded: 2026-11-16T13:27:38.518Z

No recognised licence was detected in the saved metadata. A public repository does not automatically grant permission to reuse its code. Review the repository terms before reusing its code.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Update \(September 22, 2016\): The Google Brain team has released the image captioning model of Vinyals et al. \(2015\). The core model is very similar to NeuralTalk2 \(a CNN followed by RNN\), but the Google release should work significantly better as a result of better CNN, some tricks, and more careful engineering. Find it under im2txt repo in tensorflow. I'll leave this code base up for educational purposes and as a Torch implementation.

> Recurrent Neural Network captions your images. Now much faster and better than the original NeuralTalk. Compared to the original NeuralTalk this implementation is batched, uses Torch, runs on a GPU, and supports CNN finetuning. All of these together result in quite a large increase in training speed for the Language Model \(100x\), but overall not as much because we also have to forward a VGGNet. However, overall very good models can be trained in 2-3 days, and they show a much better performance.

> This is an early code release that works great but is slightly hastily released and probably requires some code reading of inline comments \(which I tried to be quite good with in general\). I will be improving it over time but wanted to push the code out there because I promised it to too many people.



## Author-documented requirements and audience

> Update \(September 22, 2016\): The Google Brain team has released the image captioning model of Vinyals et al. \(2015\). The core model is very similar to NeuralTalk2 \(a CNN followed by RNN\), but the Google release should work significantly better as a result of better CNN, some tricks, and more careful engineering. Find it under im2txt repo in tensorflow. I'll leave this code base up for educational purposes and as a Torch implementation.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/karpathy/neuraltalk2/blob/master/README.md

Extraction checked: 2026-11-04T16:45:11.771Z

Last recorded source update: 2017-11-07T05:59:20.000Z

Saved release: Not recorded. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=karpathy%2Fneuraltalk2). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
