Giter VIP home page Giter VIP logo

human-motion-analysis-with-deep-metric-learning's Introduction

Human-Motion-Analysis-with-Deep-Metric-Learning

pytorch implement of this paper:https://arxiv.org/abs/1807.11176 (ECCV 2018)

Implement by:

Tim Ren, Harrison Huang

To do:

  • MMD-NCA Loss
  • Layer Normalization LSTM
  • Self-Attention
  • Training
  • Improve Dataloader

Instead of a Bi-direction Layer Normalization LSTM, we use a non-normalizaiton bi-direction GRU version.

And for now, the dataloader may use a large memory of your cpu.

If there is any problem, make the parameter: num_MMD_NCA_Groups of "MMD_NCA_Dataset" smaller.

Dataset:

I clean the dance dataset of https://arxiv.org/abs/1801.07388

The cleaned dataset is provided here (update the old link):

https://drive.google.com/file/d/1-H0ywex6KhA68MPiU7i5Apde_MzXg_vK/view?usp=sharing

The dataset contains 16 classes of dance. It contain 51858 sequence. The key of the json file is "0","1",.....,"15" Each key contains: ( _ , 50, 2, 17) pose. 2 is channel, 17 is pose coordinates as coco format. And each pose is normalized.

Usage:

cd Human-Motion-Analysis-with-Deep-Metric-Learning
mkdir log
mkdir dataset

Download the dataset I provided above, put it in the folder "dataset". It is suggested to split it by yourself, for the dataset is too large.

Note: if you split the data, you need to change line 247 in train.py.

And run:

python train.py

Result:

Alt text

Contact:

If have any question, feel free to connect me by email: [email protected]

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.