## Directory structure
To train on coco (single person pose estimation), place the following files in the right place.

- `cocoapi`: [coco API](https://github.com/cocodataset/cocoapi)
- `annotations`: COCO keypoint dataset
  - `person_keypoints_train+val5k2014`: annotations (JSON files)
- `images`: tain and val datasets
    - `train2014`
    - `val2014`
- `coco_annotations_2014.json` or `coco_annotations_2014.json`: reformatted annotation generated by `./miscs/gen_coco.m`

### Prepare `json` annotation file
Please edit `year = 2017; % 2014 or 2017 ` in [gen_coco.m](https://github.com/bearpaw/pytorch-pose/blob/master/miscs/gen_coco.m) to generate the corresponding annotation file (coco2014 or coco2017).
