GithubHelp home page GithubHelp logo

michalfaber / rmpe_dataset_server Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 8.0 925 KB

Realtime Multi-Person Pose Estimation data server. Used as a training and validation data provider in training process.

License: BSD 3-Clause "New" or "Revised" License

CMake 0.03% C++ 99.03% C 0.94%
pose-estimation computer-vision augmentation cvpr-2017 realtime human-pose-estimation human-behavior-understanding

rmpe_dataset_server's Introduction

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

  mkdir build
  cd build
  cmake ..
  make

Usage

Usage:

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

CMake Error at CMakeLists.txt:7 (find_package):
  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)

rmpe_dataset_server's People

Contributors

michalfaber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rmpe_dataset_server's Issues

errors while running "make"

I got some errors while running make command. the cmake .. built successfully but got following errors while running make. i am using linux terminal with python 2.7
I am unable to understand the error. the code for the socket seems correct but still got this error. along with the errors i have got some warnings as well. I have attached both the snap shots below.

WhatsApp Image 2020-01-13 at 11 42 45 AM

WhatsApp Image 2020-01-10 at 5 22 38 PM

Is this a typo?

After compiling the repo I get :
./rmpe_dataset_transformer [DATASET] [PORT]

However, in the documentation says it should be:
./rmpe_dataset_server [DATASET] [PORT]

Is this a typo or am I doing something wrong?

Problem in Building

This is the output after running cmake

~/rmpe_dataset_server/build$ cmake
Usage

  cmake [options] <path-to-source>
  cmake [options] <path-to-existing-build>

Specify a source directory to (re-)generate a build system for it in the
current working directory.  Specify an existing build directory to
re-generate its build system.

Run 'cmake --help' for more information.

How to set reasonable parameters

@michalfaber Thanks for sharing, I want to try this training but I don't know how to set parameters,what should i do ? thank you.
params.stride=8;
params.crop_size_x=368;
params.crop_size_y=368;
params.target_dist=0.6;
params.scale_prob=1;
params.scale_min=0.5;
params.scale_max=1.1;
params.max_rotate_degree=40;
params.center_perterb_max=40;
params.do_clahe=false;
params.num_parts_in_annot=17;
params.num_parts=56;
params.mirror = true;

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.