mickeyvanolst/triposr-coreml

🤗 Hugging Face 来源image-to-3dmit839 MBother✓ 4 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo mickeyvanolst/triposr-coreml ./model-folder
需要做种者 →

TripoSR — CoreML (MLProgram fp16) for the AML TouchDesigner family

CoreML conversion of stabilityai/TripoSR (Tochilkin et al., Stability AI + Tripo AI, MIT) for the Geo Gen operator in AML — Apple ML operators for TouchDesigner. Single image → 3D mesh on the Apple Neural Engine in ~2 s on an M-series Air.

package in out runs on
ImageToTriplane.mlpackage (800 MB) image [1,3,512,512] RGB 0–1, subject on 0.5 gray, foreground filling 85% triplane [1,3,40,64,64] ANE / GPU / CPU
NeRFQuery.mlpackage (100 KB) triplane, xyz [262144,3] in [−0.87, 0.87] density [262144,1], color [262144,3] CPU (fastest)

Marching cubes over a 3D grid of density queries runs on the host (TripoSR default threshold 25). Mesh frame: TripoSR is z-up with the subject facing +x.

Converted with coremltools 9 from the original PyTorch weights (transformers 4.45.2 / torch 2.7.0); conversion script and notes: labs/geogen/convert_coreml.py in the AML repository. Requires macOS 14+.

License

MIT — the original TripoSR license applies (© Stability AI, Tripo AI). The conversion is provided under the same terms.