Skip to content

Commit

Permalink
fix typo in the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Sep 28, 2021
1 parent e375276 commit 9b667ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ The code is developed using python 3.6 on Ubuntu 16.04. NVIDIA GPUs are needed.
```
Note that instructions like # COCOAPI=/path/to/install/cocoapi indicate that you should pick a path where you'd like to have the software cloned and then set an environment variable (COCOAPI in this case) accordingly.
4. Install [CrowdPoseAPI](https://github.com/Jeff-sjtu/CrowdPose) exactly the same as COCOAPI.
- **There is a bug in the CrowdPoseAPI, please reverse https://github.com/Jeff-sjtu/CrowdPose/commit/785e70d269a554b2ba29daf137354103221f479e**
5. Init output(training model output directory) and log(tensorboard log directory) directory:

```
Expand Down
2 changes: 1 addition & 1 deletion tools/inference_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def main():
for keypoint in COCO_KEYPOINT_INDEXES.values():
csv_headers.extend([keypoint+'_x', keypoint+'_y'])
elif cfg.DATASET.DATASET_TEST == 'crowd_pose':
for keypoint in COCO_KEYPOINT_INDEXES.values():
for keypoint in CROWDPOSE_KEYPOINT_INDEXES.values():
csv_headers.extend([keypoint+'_x', keypoint+'_y'])
else:
raise ValueError('Please implement keypoint_index for new dataset: %s.' % cfg.DATASET.DATASET_TEST)
Expand Down

0 comments on commit 9b667ad

Please sign in to comment.