GithubHelp home page GithubHelp logo

zeroshot-storytelling's Introduction

Zero Shot Visual Storytelling

Zero shot visual storytelling, using GPT-2 and CLIP and beam search. See the paper for more details.

This work was submitted to COSE474-2021F Deep Learning @ Korea University

Example output of our methods.

This is a picturising scenario involving a group of people playing with a toy. The game is a single player or group game with three or four players.

39 men in America's annual yearly military academy (walking the steps to the stratosphere). Learn more about how Arizona organized military schools (#IGCF) organize, organise, and in action!

The visitors and family members of the tributary roof were invited to join in a family gathering on the state’s Gran Lucha Park in Wellington.. The cuisine and food, featuring a combination of strong sauces and clams, was presented by a three year old boy who came down to the Tackles Centre on the Sunshine Coast and died when he fell in the water.Members of the Tackles Centre have been growing to enjoy the comfort of the three-year old boy in the water.

Requirements

Create and environment. Than, install CLIP from https://github.com/openai/CLIP.

Install other packages with

pip install -r requirements.txt

How to use

To perform VIST Dataset evaluation, you need to first download the dataset. Executing downloader.py will download the dataset.

Next, evaluate our method on the VIST dataset. Executing main.py will evaluate our method on the VIST dataset.

On main.py, you can use just the language model evaluation, by setting test_baseline to True.

By running storyteller.py, you can see the storyteller's output on given story_id.

zeroshot-storytelling's People

Contributors

cloneofsimo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zeroshot-storytelling's Issues

Problem downloading the dataset

Hey!
When I tried to launch downloader.py,It just didn't work for me(using colab).
image
Could you plz tell me how to fix that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.