Git Product home page Git Product logo

csq_pytorch's Introduction

CSQ_pytorch

This repository is re-implementation of CSQ(Central Similarity Quantization) with MFNet(Multi-Fiber Net)
CSQ is a methodology for video retrieval, and in this repository, we use the UCF101 dataset to conduct video retrieval.



Installation

  1. Get the code.
  git clone https://github.com/Jo-won/CSQ_pytorch.git
  1. Check requirement.txt

  2. Go to Wandb and create an account.



Dataset

Running this code requires UCF101 dataset. (available here)
The data path can be checked below.
Please move trainlist01_ilp.txt and testlist01_ilp.txt inside ucf101_txt folder

<DATA_PATH>

+-- DATA_ROOT
|   +-- video
|   |   +-- ApplyEyeMakeup
|   |   |   +-- v_ApplyEyeMakeup_g01_c01.avi
|   |   |   +-- ...
|   |   +-- ApplyLipstick
|   |   +-- ...
|   +-- ucfTrainTestlist
|   |   +-- trainlist01_ilp.txt
|   |   +-- testlist01_ilp.txt





Usage

  • Train & Vaild
    Please set the model_root folder to be saved at opt.py,
    set the data_root in the train_ucf101_base.sh file,
    and then use the command below.
    Validation proceeds with the same videos as the test.
bash train_ucf101_base.sh





  • Result
    When CSQ 64bits,
mAP@100 (CSQ 64bits) Original Paper Our re-implementation
UCF101 0.874 0.934

image



Reference

csq_pytorch's People

Contributors

jo-won avatar

Watchers

 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.