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.
mkdir build
cd build
cmake ..
make
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:
./rmpe_dataset_server ../../keras_Realtime_Multi-Person_Pose_Estimation/dataset/train_dataset.h5 5555
./rmpe_dataset_server ../../keras_Realtime_Multi-Person_Pose_Estimation/dataset/val_dataset.h5 5556
python train_pose.py
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)