Giter Site home page Giter Site logo

str's Introduction

STR

This is the code implementation of "Show, Tell and Rephrase: Diverse Video Captioning via Two-Stage Progressive Training" published in TMM.

Introduction

This code provides the code implementation of the methods described in the article. We propose a novel progressive training method by decomposing the learning of latent variables into two stages that are topic-oriented and paraphrase-oriented, respectively.

image-20230609213211523

Code Execution

The following steps explain how to run the code:

  1. Install Dependencies: Ensure that the necessary dependencies are installed on your system

    python -m venv myenv (optional)
    source myenv/bin/activate (optional)
    pip install -r requirements.txt
  2. Data Preparation: Prepare the dataset and place it in the specified path. (You can download from Tsinghua Cloud)

  3. Configuration: Modify the parameters in the configuration file in the configs directory according to your needs.

  4. Run the Code: Execute the command in bash.sh to run the code. (train or evaluate)

    NOTE: We release the optimal checkpoints for MSVD and MSRVTT in this onedrive link. You can put them into the results directory.

After execution, the results will be saved in the specified output path (default is results/).

Citation

If you use the code in your research, please cite the following article:

@article{liu2022show,
  title={Show, Tell and Rephrase: Diverse Video Captioning via Two-Stage Progressive Training},
  author={Liu, Zhu and Wang, Teng and Zhang, Jinrui and Zheng, Feng and Jiang, Wenhao and Lu, Ke},
  journal={IEEE Transactions on Multimedia},
  year={2022},
  publisher={IEEE}
}

Acknowledgement

The code is based on cos-vae. We thank the authors for their work and code.

License

This project is licensed under the MIT License.

str's People

Contributors

ryanliut avatar

Stargazers

Sun Jiahui avatar  avatar Jinrui Zhang avatar Teng Wang avatar

Watchers

 avatar

Forkers

ttengwang

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.