Downloads · 30 days
0
cy0307/b-deepsdf-shape
b-deepsdf-shape is a machine learning model from cy0307. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as mit.
An MLP signed-distance field with an eikonal regularizer; the surface is its zero level set (marching cubes).
Downloads · 30 days
0
Access
Public
Updated Jun 28, 2026
Repo size
1.3 MB
Likes
0
Public
Click a slice to open those files.
.pt559 KB · 88%
From the Hugging Face model README
An MLP signed-distance field with an eikonal regularizer; the surface is its zero level set (marching cubes).
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.
Adam (lr 1e-3), 2000 steps; SD targets clamped to ±0.1 + eikonal regularizer; near-surface sampling.
| metric | value | meaning |
|---|---|---|
l1 (final) | 0.016 |

import torch
state = torch.load("sdf.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()
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.
Clamping the prediction (not just the target) zeroes gradients (saturation); a too-high-frequency encoding overfits noise.
One click: open the notebook in Colab → Runtime → GPU → Run all, then run its Publish to the Hugging Face Hub cell.
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_deepsdf_shape.ipynb --output run.ipynb
# optional: override training length, e.g. STEPS=2000 (or EPISODES=600) before running
figure.pngmetrics.jsonsdf.ptCode & weights: MIT (this repository) — educational use encouraged.
Data: generated procedurally in the notebook — no external dataset.
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: Park et al., DeepSDF, CVPR 2019; Gropp et al., Implicit Geometric Regularization (eikonal), ICML 2020.
Part of the Ropedia Academy trained-model collection. Contributions & issues welcome on GitHub.