Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

How to train a model for coco human dataset? #3

Closed
WinstonDeng opened this issue Nov 4, 2019 · 4 comments
Closed

How to train a model for coco human dataset? #3

WinstonDeng opened this issue Nov 4, 2019 · 4 comments

Comments

@WinstonDeng
Copy link

I'm trying to train a model for coco human dataset. However, there is no coco url in DATASET_URL. What should I do?

@davnov134
Copy link
Contributor

Hi, please follow these steps:
(1) convert coco keypoints to a .json file, following the format of the other dataset files
(2) copy-paste the ./cfgs/h36m.yaml file and name it ./cfgs/coco.yaml
(3) in ./cfgs/coco.yaml change the MODEL.n_keypoints to match the number of keypoints in coco
(4) in ./cfgs/coco.yaml change the name of the dataset to match your new coco .json file
(5) launch training

@WinstonDeng
Copy link
Author

Thanks for your help!

@MritulaC
Copy link

What is the format of the input .json file?

@davnov134
Copy link
Contributor

Please refer to the documentation of class KeypointsDataset in dataset/keypoints_dataset.py for the description.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants