Skip to content

A public repository with data and code for ''When an Image Tells a Story: The Role of Visual and Semantic Information for Generating Paragraph Descriptions'', Nikolai Ilinykh and Simon Dobnik. 2020. In Proceedings of the 13th International Conference on Natural Language Generation, pages 338–348, Dublin, Ireland.

License

Notifications You must be signed in to change notification settings

GU-CLASP/when-an-image-tells-a-story

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

when-an-image-tells-a-story

The repository for the paper "When an Image Tells a Story: The Role of Visual and Semantic Information for Generating Paragraph Descriptions".

Preparing data

  1. preproc-dataset.py: the script tokenises Stanford image paragraphs into sentences and formats the dataset in COCO Karpathy style for the model.
  2. create_input_files.py: the script generates files which include word map, image features, captions and their lengths for all three data splits. Note that image features where extracted in advance, and this script simply distributes them between data splits properly.

About

A public repository with data and code for ''When an Image Tells a Story: The Role of Visual and Semantic Information for Generating Paragraph Descriptions'', Nikolai Ilinykh and Simon Dobnik. 2020. In Proceedings of the 13th International Conference on Natural Language Generation, pages 338–348, Dublin, Ireland.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages