Coder Social home page Coder Social logo

densevid_eval's Introduction

Dense Captioning Events in Video - Evaluation Code

Usage

First, clone this repository and make sure that all the submodules are also cloned properly.

git clone --recursive https://github.com/ranjaykrishna/densevid_eval.git

Next, download the dataset using

./download.sh

Finally, test that the evaluator runs by testing it on our sample_submission.json file by calling:

python evaluate.py

You are now all set to produce your own dense captioning results for videos and use this code to evaluate your mode:

python evaluate.py -s YOUR_SUBMISSION_FILE.JSON

Paper

Visit our project page and read our paper for details.

Citation

@inproceedings{krishna2017dense,
    title={Dense-Captioning Events in Videos},
    author={Krishna, Ranjay and Hata, Kenji and Ren, Frederic and Fei-Fei, Li and Niebles, Juan Carlos},
    booktitle={ArXiv},
    year={2017}
}

License

MIT License copyright Ranjay Krishna

Contributions

Feel free to send pull requests to help write example code, contribute patches, document methods, etc. You can reach me through:

twitter: @RanjayKrishna

email: ranjaykrishna [at] stanford [dot] edu

densevid_eval's People

Contributors

anonymous-coreteam avatar jaywongwang avatar kenjihata avatar ranjaykrishna avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

densevid_eval's Issues

KeyError while running evaluate.py

Hi,

Thank you for sharing your code! I was trying to run 'python evaluate.py' to test whether the evaluator runs, but I got some KeyError shown as following. I am wondering did anyone ever encountered similar problems? And if so, how did you solve it?
9201591897593_ pic_hd
I think this problem is somehow related to the .jar files in the COCO Evaluation because before the error, I also got something like this:
9181591897591_ pic_hd
9191591897592_ pic_hd
However, I just have no clue how to debug this. Really appreciated if anyone can help!

evaluation bug

Hi ranjay,

I noticed a potential bug in your evaluation code as follows:
https://github.com/ranjaykrishna/densevid_eval/blob/master/evaluate.py#L196

It only utilizes the temporal proposals in the first groundtruth file to decide whether to add the garbage sentence rather than all groundtruth files.
So if the order of the groundtruth files changes, the evaluation results are different.
I think this part of code might be put outside of the for loop of groundtruth files.

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.