Giter Site home page Giter Site logo

mrhuangam / rtq-mm2023 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sczwangxiao/rtq-mm2023

0.0 0.0 0.0 8.15 MB

ACM Multimedia 2023 (Oral) - RTQ: Rethinking Video-language Understanding Based on Image-text Model

License: BSD 3-Clause "New" or "Revised" License

Shell 0.61% Python 99.39%

rtq-mm2023's Introduction

โœจ Highlights

With a simple yet insightful framework RTQ (Refine, Temporal model, and Query), our model demonstrates outstanding performance even in the absence of video-language pre-training.

๐Ÿ† Contributions

  1. Our systemic analysis reveals that current methods focus only on restricted aspects of video-language understanding, and they are complementary.

  1. We propose the RTQ framework to jointly model information redundancy, temporal dependency, and scene complexity in video-language understanding.

  1. We demonstrate that, even without pre-training on video-languag data, our method can achieve superior (or comparable) performance with state-of-the-art pre-training methods.

๐Ÿ“Š Main Results

Text-to-video retrieval

Video caption

Video question answering

๐Ÿ”ง Requirements and installation

  • Python >= 3.8
  • Pytorch >= 1.10.0
  • CUDA Version >= 10.2
  • Install required packages:
pip install -r requirements.txt

๐Ÿšข Download datasets and pretrained models

Follow the instructions in [REPO_HOME]/tools/data to download all datasets. Put them in the [REPO_HOME]/data directory. You can use softlinks as well.

Download BLIP model

mkdir [REPO_HOME]/modelzoo
wget https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_capfilt_large.pth -P [REPO_HOME]/modelzoo/BLIP

The final file structure is:

- RTQ
  - assets
  - configs
  - data
    - msrvtt
      - txt_db
      - vis_db
    - nextqa
    ......
  - lavis
  - modelzoo
    - BLIP
      - model_base_capfilt_large.pth
  ......

๐Ÿš€ Training & evaluation

See code examples.

๐Ÿ“– Citation

If you find our paper and code useful in your research, please consider giving a star โญ and citation ๐Ÿ“–.

@inproceedings{wang2023rtq,
  author       = {Xiao Wang and
                  Yaoyu Li and
                  Tian Gan and
                  Zheng Zhang and
                  Jingjing Lv and
                  Liqiang Nie},
  title        = {{RTQ:} Rethinking Video-language Understanding Based on Image-text
                  Model},
  booktitle    = {Proceedings of the {ACM} International Conference on Multimedia, 2023},
  pages        = {557--566},
  publisher    = {{ACM}},
  year         = {2023},
}

๐Ÿ–– Acknowledgements

  • LAVIS: great library in vision-language understanding.
  • mmaction2: great toolbox for video understanding.

rtq-mm2023's People

Contributors

sczwangxiao avatar

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.