File size: 1,272 Bytes
cbbcdc4
 
ed08fcb
 
 
 
 
 
 
cbbcdc4
ed08fcb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6b40c2f
 
ed08fcb
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
---
license: other
license_name: apple-ml-research-model
license_link: https://github.com/apple/ml-sharp/blob/main/LICENSE_MODEL
tags:
  - onnx
  - sharp
  - gaussian-splatting
  - research
---

# SHARP ONNX weights (browser)

ONNX exports of [Apple SHARP](https://github.com/apple/ml-sharp) for the
[Sharp-Onnx-webgpu](https://github.com/pristinaai/Sharp-Onnx-webgpu) browser demo.

**Research use only.** Apple Machine Learning Research Model is licensed under the
[Apple Machine Learning Research Model License Agreement](https://github.com/apple/ml-sharp/blob/main/LICENSE_MODEL).

## Files

| File | Size (approx.) |
|------|----------------|
| `sharp_web_predictor.onnx` | 7 MB |
| `sharp_web_predictor.onnx.data` | 2.5 GB |
| `sharp_web_predictor_fp16.onnx` | 7 MB |
| `sharp_web_predictor_fp16.onnx.data` | 1.2 GB |

Each `.onnx` file requires its matching `.onnx.data` sidecar in the same folder/URL path.

## Usage in the web app

Set these environment variables (Vercel → Settings → Environment Variables):

```
VITE_MODEL_URL_FP32=https://huggingface.co/sentiantai/sharp-onnx-webgpu-weights/resolve/main/sharp_web_predictor.onnx
VITE_MODEL_URL_FP16=https://huggingface.co/sentiantai/sharp-onnx-webgpu-weights/resolve/main/sharp_web_predictor_fp16.onnx
```