|
Download README.md from Chao-Yun/I-DevNet: direct link, hf CLI and curl.
- Browser
- Download file 2.16 kB
-
https://huggingface.co/Chao-Yun/I-DevNet/resolve/main/README.md
- Command line
-
hf download hf://Chao-Yun/I-DevNet/README.md
-
curl -L -o README.md https://huggingface.co/Chao-Yun/I-DevNet/resolve/main/README.md
2.16 kB
| 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] | |
| ``` | |