ICP point-cloud registration

Recovers a rigid transform between two point clouds with Iterative Closest Point (nearest-neighbour + Kabsch).

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 rigid point-cloud alignment
Training objective Iterative Closest Point: nearest-neighbour correspondences + Kabsch rigid solve, minimizing point-to-point RMSE.
Track B Β· 3D & rendering
Notebook Open In Colab

Dataset

  • Name: Synthetic point clouds
  • Type: synthetic β€” procedural
  • Size / stats: two linked rings (~800 points, 3-D); target = source under a known rigid transform + 0.01 noise
  • Split: 1 source/target pair
  • Source: procedural

Training config

Iterative Closest Point β€” nearest-neighbour correspondences + Kabsch SVD per iteration (no SGD).

Evaluation results

metric value meaning
rmse (final) 0.0124

figure

Inference example

import torch
state = torch.load("transform.pt", map_location="cpu")   # this repo's checkpoint
# Rebuild the exact module from the lab notebook (see "Reproduce"), then:
# 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

Converges to the wrong alignment under a large initial rotation or low overlap (needs a coarse/global init).

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.

Open In Colab

From a shell:

git clone https://github.com/ChaoYue0307/ropedia-academy.git && cd ropedia-academy
pip install torch numpy matplotlib scikit-learn scikit-image gymnasium
jupyter nbconvert --to notebook --execute notebooks/training/B_icp_registration.ipynb --output run.ipynb
# optional: override training length, e.g.  STEPS=2000  (or EPISODES=600)  before running

Files

  • figure.png
  • metrics.json
  • transform.pt

License

Code & weights: MIT (this repository) β€” educational use encouraged.
Data: generated procedurally in the notebook β€” no external dataset.

Citation

If you use this model or the course materials, please cite:

@misc{ropedia_academy,
  title  = {Ropedia Academy: an interactive course on embodied & spatial AI},
  author = {Ropedia Academy},
  year   = {2026},
  howpublished = {\url{https://chaoyue0307.github.io/ropedia-academy/}}
}

Method / original work: Besl & McKay, A Method for Registration of 3-D Shapes (ICP), 1992; Arun et al. (Kabsch), 1987.

Related assets


Part of the Ropedia Academy trained-model collection. Contributions & issues welcome on GitHub.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including cy0307/b-icp-registration