Views
No views yet
.tflite) conversion of
MoGe-2 (CVPR'25 Oral) monocular geometry
estimation, converted from Ruicheng/moge-2-vits-normal
(DINOv2 ViT-S backbone, 35M params).CompiledModel GPU accelerator (ML Drift):
all 836 ops are GPU-native, no CPU fallback, no Flex ops.| File | Size | Description |
|---|---|---|
moge.tflite | 136 MB | FP32 single-graph model, GPU-compatible |
[1, 3, 448, 448] float32, NCHW, RGB normalized to [0, 1]
(ImageNet mean/std is applied inside the graph).points [1, 448, 448, 3] — affine point map (exp remap: [xy·exp(z), exp(z)])normal [1, 448, 448, 3] — L2-normalized surface normalsmask [1, 448, 448, 1] — sigmoid confidence (> 0.5 = valid)scale [1, 1, 1, 1] — metric scale factor1val model = CompiledModel.create(
2 context.assets, "moge.tflite",
3 CompiledModel.Options(Accelerator.GPU), null
4)
5val inputs = model.createInputBuffers()
6val outputs = model.createOutputBuffers()
7inputs[0].writeFloat(nchwFloatArray) // [1,3,448,448], RGB [0,1]
8model.run(inputs, outputs)
9val points = outputs[0].readFloat() // identify the 4 outputs by element count + rangeRuicheng/moge-2-vits-normal; all credit to the
original authors (Microsoft Research).