Git Product home page Git Product logo

aic22-track2-smm's Introduction

Symmetric Network with Spatial Relationship Modeling for Natural Language-based Vehicle Retrieval

๐Ÿ† The 1st Place Solution for CVPR AI City 2022 Challenge Track2: Natural Language-Based Vehicle Retrieval

[official results] [paper] [slides] [arxiv]

framework

We have two codebases and get the final results with these two:

  1. One is this repo: https://github.com/ZhaoChuyang/AIC22-Track2-SMM
  2. Another is at here: https://github.com/hbchen121/AICITY2022_Track2_SSM

Prepare

Preprocess the dataset to prepare frames, motion maps, NLP augmentation

  1. Run python3 scripts/extract_vdo_frms.py to extract frames from dataset.

  2. Run python3 scripts/deal_nlpaug.py to perform NLP subject augmentation.

Generate post-processing features

  1. Run python3 scripts/get_location_info.py to generate location information for each camera, which will be used in our post-processing stage.

  2. Run python3 scripts/get_relation_info.py to generate relationship features for test tracks, which will be used in our post-processing stage.

Train

Train model using the following configuration configs/two_branch_cam_loc_dir.yaml:

python -u main.py \
--name tb_cam_loc_dir \
--config configs/two_branch_cam_loc_dir.yaml

Inference

Run python test.py --config configs/two_branch_cam_loc_dir.yaml --save-name "tb_model" to get test features.

Post-Processing & Submit

Run scripts/get_sumbmit.py to get submitted file, post-processing is added by default.

Others

If you have any questions, please leave an issue or contact us: [email protected] or [email protected].

aic22-track2-smm's People

Contributors

zhaochuyang 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.