Giter Club home page Giter Club logo

pn_gan's Introduction

PN_GAN

In current version, we release the codes of PN-GAN and re-id testing . The other parts of our project will be released later.

How to run it:

GAN:
  (1) run 'GAN/train.py' to train the GAN model. The model and log file will be saved in folder 'GAN/model' and 'GAN/log' respectively. The validate images will be synthesized in 'GAN/images';

  or (2) run 'GAN/evaluate.py' to generate images for specific testing image. The output will be saved in folder 'GAN/test'

Person re-id:
  (1) run 'viper_feature.py' to extract features of probe and gallery, the features will be saved in folder '../feature/';

  (2) run 'CMC_viper.py' to compute cmc scores with python code, it will output three kinds of results:
       - avg: 8 pose features are fused by average operation
       - max: 8 pose features are fused by maximum operation
       - concat: 8 pose features are fused by concatenation operation

  (3) (optional) run 'Market-1501_baseline/zzd_evaluation_res_faster.m' to compute cmc scores with matlab code. You can modify the code in line 93 to obtain different result of each metric learning (e.g. 'dist_avg.mat', 'dist_max.mat', or 'dist_concat.mat'). It should get the same results with step 2.

#Acknowledgment:

  The testing codes are modified from Tong Xiao's code, and also refer to Zhedong Zheng's codes.

pn_gan's People

Contributors

naiq avatar yanweifu avatar

Watchers

James Cloos avatar  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.