项目作者: michalfaber

项目描述 :
Realtime Multi-Person Pose Estimation data server. Used as a training and validation data provider in training process.
高级语言: C++
项目地址: git://github.com/michalfaber/rmpe_dataset_server.git
创建时间: 2017-10-19T15:37:16Z
项目社区:https://github.com/michalfaber/rmpe_dataset_server

开源协议:BSD 3-Clause "New" or "Revised" License

下载


RMPE Dataset Server

This server generates augmented samples for the project keras_Realtime_Multi-Person_Pose_Estimation
Source samples are retrieved from the hdf5 dataset file and processed in realtime using random cropping, rotations, flipping and scaling.

Prerequisites

Building

  1. mkdir build
  2. cd build
  3. cmake ..
  4. make

Usage

Usage:

  1. ./rmpe_dataset_server [DATASET] [PORT]

DATASET - path to the hdf5 dataset generated by the tool generate_hdf5.py

PORT - port number where augmented data are emitted.

Basically, you need to start a separate server for training dataset and validation dataset.
The procedure of training looks something like:

  1. Start training data server in the first terminal session
    ./rmpe_dataset_server ../../keras_Realtime_Multi-Person_Pose_Estimation/dataset/train_dataset.h5 5555
  2. Start validation data server in a second terminal session
    ./rmpe_dataset_server ../../keras_Realtime_Multi-Person_Pose_Estimation/dataset/val_dataset.h5 5556
  3. Train the model in a third terminal
    python train_pose.py

Troubleshooting

If you see the error

  1. CMake Error at CMakeLists.txt:7 (find_package):
  2. By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH

then export the path to your OpenCV location (ex. export OpenCV_DIR=/usr/local/Cellar/opencv/3.3.0_3/share/OpenCV)