Shih-En Wei, Varun Ramakrishna, Takeo Kanade, Yaser Sheikh, "Convolutional pose machines", CVPR 2016.
Contact: shihenw@cmu.edu.
- Watch some videos.
- Install Caffe. If you are interested in training this model on your own machines, consider using our version with a data layer performing online augmentation. Make sure you have done
make matcaffeandmake pycaffe. - Copy
caffePath.cfg.exampletocaffePath.cfgand set your own path in it.
- Run
get_model.shto retreive trained models from our web server. -
CPM_demo.m: Put the testing image intosample_imagethen run it! You can select models (we provided 4) or other parameters inconfig.m. If you just want to try our best-scoring model, leave them default.
-
CPM_benchmark.m: Run the model on test benchmark and see the scores. Prediction files will be saved intesting/predicts.
- Run
get_data.shto get datasets including FLIC Dataset, LEEDS Sport Dataset and its extended training set, and MPII Dataset. - Run
genJSON(<dataset_name>)to generate a json file intraining/json/folder. Dataset name can beMPI,LEEDS, orFLIC. The json files contain raw informations needed for training from each individual dataset. - Run
python genLMDB.pyto generate LMDBs for CPM data layer in our caffe. Change the main function to select dataset, and note that you can generate a LMDB with multiple datasets. - Run
python genProto.pyto get prototxt for caffe. Read further explanation for layer parameters. - Train with generated prototxts and collect caffemodels.