Code Monkey home page Code Monkey logo

attention-nas-reid's Introduction

Person-Re-Identification-Baseline-Based-on-Attention-Block-Neural-Architecture-Search

This is the Pytorch code of the paper ''Person Re-Identification Baseline Based on Attention Block Neural Architecture Search''.

Installation

  • Install pytorch with python 3.7, pytorch==1.4.0, torchvision==0.5.0, CUDA==10.1.
  • Clone this repository:
git clone https://github.com/Nicholasxin/Attention-NAS-ReID
  

Dataset

  • Before run or debug the code, the folder named 'data' should be built and put the ReID public database in it directly. Then, RUN or DEBUG the code.

Training

  • Firstly, run the script train_search.py. The parameters of the four searched attention blocks would be print in the terminal.
  • Secondly, put the obtained 4 parameters in the script '.NAS/genotypes.py' manually.
  • Finally, run the script train.py to implement the ReID task by the searched network architecture.

Testing

  • The test process will run at the same time with training while running the script train.py.

Note

  • 31/05/2022: code released

attention-nas-reid's People

Contributors

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