Practical overview
When it fits
Use it when you need a code-based MoveNet workflow for custom keypoint data, training, prediction, evaluation or ONNX conversion.
Who it is for
- Developers adapting pose estimation to custom labeled images.
- Researchers or practitioners evaluating human-keypoint models on a test dataset.
- Teams seeking a documented PyTorch-to-ONNX conversion step for a pose model.
Documented uses
- Prepare COCO 2017 person-keypoint data in the repository’s expected JSON format.
- Train a pose model with the prepared or custom-formatted data.
- Load trained weights for image prediction and evaluate on a test dataset.
- Convert a PyTorch model to ONNX.
Requirements & limits
The repository is public and marked with an MIT license.
- The input data must match the repository’s JSON structure and 17-keypoint order.
- Training depends on having person-keypoint images and annotations; COCO 2017 is the documented example.
- The README identifies data quality as important and shows both good and bad result cases.
- ONNX conversion is documented, but downstream runtime compatibility is not specified.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Prepare COCO 2017 data and start model training
Convert the documented COCO 2017 pose dataset into the repository’s JSON format and start training.
Before you start
- COCO 2017 train2017 and val2017 images
- COCO person-keypoint annotation files
- The repository and its Python environment
Steps
Place the images and annotations under the repository’s data directory in the documented layout.
Run the command below to create the repository data format.
python scripts/make_coco_data_17keypooints.pyAdd any custom examples in the same JSON format if needed.
Run the command below to start training.
python train.py
Expected outcome
The repository’s training process starts using data prepared in its expected format.
Guide limitations
- The README specifies the data fields and keypoint order but does not provide a complete environment setup procedure.
- The instructions do not establish a training result or performance level.
Predict with trained weights and convert to ONNX
Use the documented prediction script with a selected model file, or convert a PyTorch model to ONNX.
Before you start
- A trained model file
- The repository and its Python environment
Steps
Set the model path in
predict.pyto the desired.pthfile, as shown in the README.Run the command below to show prediction results, or run
evaluate.pyto compute accuracy on a test dataset.python predict.pyRun the command below to convert to ONNX.
python pth2onnx.py
Expected outcome
The documented scripts provide prediction, test-dataset evaluation or ONNX conversion stages.
Guide limitations
- The README does not specify ONNX runtime usage or guarantee compatibility with downstream systems.
- The exact evaluation command and environment setup are not provided in the cited instructions.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 November 2026
- Original website title
- fire717/movenet.pytorch · Official homepage title · retained in its source language

