Giter Site home page Giter Site logo

posenet's Introduction

PoseNet

Distilling 3D Human Pose from a Single Image


Code & Report for course Machine Perception at ETH Zurich, Spring 2019.

Reproducing Results

Install Requirements

make requirements
mkdir log/
Note: All configuration files provided assume that all available data is placed at /cluster/project/infk/hilliges/lectures/mp19/project2/

Training from scratch

  1. Training only HRNet
    • trains only for 2D pose estimation.
    • applies augmentation (horizontal flip).
    • trained for 1 epoch.
    • makes use of config/pretrain.py
    • weights stored at log/pretrain/
    • if configuration unchanged, the name should be PRETRAIN-master-Adam-1
    • should take around 4 hours.
make submit SCRIPT=scripts/pretrainHRN.py Q=6:00
  1. Train entire model using pretrained-HRNet
    • uses weights from step 1 as initialization for HRNet.
    • makes use of config/posenet.py
    • configuration loads weights directly from step 1. In case of any issues, kindly set the variable PRETRAINED on line 41 of config/pretrain.py to the path of the step 1 weights.
    • trained for 8 epochs.
    • produces submission files after every epoch. The last one is the submitted to the leaderboard.
    • should take around additional 30 hours.
make submit SCRIPT=main.py Q=32:00

Pretrained weights

For sake of convienience, I have uploaded the pretrained weights of step 1 to polybox. One can download and place them at log/pretrain/ and start directly with step 2.

wget https://polybox.ethz.ch/index.php/s/YwitdaXVXN31UWB/download -O log/pretrain/PRETRAIN-master-Adam-1
Run-time logs

Logs are flushed to file, which can be found in log/pretrain/ for pretraining and log/master/ for step 2. Users can also stream the log outputs using the command make stream DIR=<pretrain/master> Logs are saved in the format {dd}-{mm}--{H}-{s} in respective directories.

posenet's People

Contributors

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