File size: 2,157 Bytes
644a292 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | ---
license: apache-2.0
library_name: pytorch
tags:
- 3d
- developable-surface
- mesh-optimization
- computer-aided-design
- onnx
- resunet
---
# I-DevNet Pretrained Weights (CAD 2025)
Official PyTorch (`.pth`) and ONNX (`.onnx`) checkpoints for:
> **Interactive Design of Developable Surfaces by Patch-based Learning**
> Chaoyun Wang, Jianlei Wang, Chengcheng Tang, Nanning Zheng, Caigui Jiang
> *Computer-Aided Design (CAD)*, Vol. 103970, 2025 · [Paper (ScienceDirect)](https://www.sciencedirect.com/science/article/pii/S0010448525001319)
- **Live Browser Demo (Zero Blender Required):** [https://huggingface.co/spaces/Chao-Yun/I-DevNet](https://huggingface.co/spaces/Chao-Yun/I-DevNet)
- **GitHub Repository:** [https://github.com/chaoyunwang/I-DevNet](https://github.com/chaoyunwang/I-DevNet)

## Checkpoints Included
| File | Stage | Input Shape | Size |
| --- | --- | --- | :---: |
| `coarse_model.pth` / `coarse_model.onnx` | Coarse ResUNet (MAE + Area-Gauss -> Local-Minima -> Angle-Deficit) | `(B, 3, 64, 64)` | ~10.8 MB |
| `fine_model.pth` / `fine_model.onnx` | Fine ResUNet (Secondary `opt2` Residual Refinement) | `(B, 3, 64, 64)` | ~10.8 MB |
## Table 1 Quantitative Results
| Model | Method | $N_P$ | $d_{H-a}$ (%) | $d_{H-99}$ (%) | $|K|_{\text{mean}}$ (rad) |
| --- | --- | :---: | :---: | :---: | :---: |
| Bunny | **Ours (Final)** | **6** | **0.382** | **1.087** | 0.000085 |
| Dog | **Ours (Final)** | **10** | **0.485** | **1.408** | 0.000093 |
| Kitten | **Ours (Final)** | **11** | **0.323** | **0.944** | 0.000119 |
## Quick Usage (ONNX Runtime)
```python
import numpy as np
import onnxruntime as ort
from huggingface_hub import hf_hub_download
coarse_path = hf_hub_download("Chao-Yun/I-DevNet", "coarse_model.onnx")
fine_path = hf_hub_download("Chao-Yun/I-DevNet", "fine_model.onnx")
sess = ort.InferenceSession(coarse_path, providers=["CPUExecutionProvider"])
# x_norm: (1, 3, 64, 64) unit-sphere normalized masked geometry image
out = sess.run(None, {sess.get_inputs()[0].name: np.zeros((1, 3, 64, 64), dtype=np.float32)})[0]
```
|