A fully-convolutional net that predicts per-joint heatmaps, decoded to coordinates by soft-argmax. Best-checkpoint by PCK.
Trained from scratch in Ropedia Academy — an interactive, bilingual course on embodied & spatial AI. Educational model: small and quick to train; the value is the method and a reproducible pipeline, not a leaderboard score. Try it live in the Ropedia demos Space.
At a glance
Base model
Trained from scratch (random initialization) — no pretrained base model.
Task
2D keypoint detection
Training objective
Per-joint Gaussian heatmap regression (MSE), decoded to coordinates by soft-argmax; best checkpoint by PCK.
Adam (lr 1e-3), 1500 steps; 48×48 input, 3 joints; heatmap MSE + soft-argmax; best checkpoint by PCK.
Evaluation results
metric
value
meaning
pck (final)
0.396
figure
Inference example
python
1import torch
2state = torch.load("pose.pt", map_location="cpu")# this repo's checkpoint3# Rebuild the exact module from the lab notebook (see "Reproduce"), then:4# model.load_state_dict(state); model.eval()
Limitations
Educational scale. Trained quickly on CPU on small or synthetic data, so absolute numbers are not competitive with production systems — the value is the method and a reproducible pipeline. No large-scale data, no hyperparameter sweep, and no multi-seed variance is reported. Not for production use.
Failure cases
Soft-argmax drifts when joints overlap or leave the frame; the low-resolution heatmap caps precision.
Reproduce / train your own
One click: open the notebook in Colab → Runtime → GPU → Run all, then run its Publish to the Hugging Face Hub cell.