Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
| 1 |
---
|
| 2 |
license: bsd-3-clause
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: bsd-3-clause
|
| 3 |
+
---
|
| 4 |
+
# LAMA Dilated Inpainting Model (ONNX)
|
| 5 |
+
|
| 6 |
+
LAMA (Large Mask Inpainting) model with dilated convolutions, exported to ONNX format for browser-based
|
| 7 |
+
inpainting via ONNX Runtime Web (WebGPU backend).
|
| 8 |
+
|
| 9 |
+
## Model Details
|
| 10 |
+
|
| 11 |
+
- **Architecture:** LAMA with dilated convolutions
|
| 12 |
+
- **Format:** ONNX (FP32)
|
| 13 |
+
- **Size:** ~174MB
|
| 14 |
+
- **Input:** 512×512 RGB image + 512×512 binary mask
|
| 15 |
+
- **Output:** 512×512 inpainted RGB image
|
| 16 |
+
- **Runtime:** [ONNX Runtime Web](https://onnxruntime.ai/) with WebGPU or WASM backend
|
| 17 |
+
|
| 18 |
+
## Usage
|
| 19 |
+
|
| 20 |
+
This model is loaded directly in the browser for local-mode text removal and inpainting on images.
|
| 21 |
+
|
| 22 |
+
### Direct download URL
|
| 23 |
+
|
| 24 |
+
https://huggingface.co/pxGeniusAI/lama-dilated/resolve/main/lama_dilated.onnx
|
| 25 |
+
|
| 26 |
+
## Source
|
| 27 |
+
|
| 28 |
+
Exported from [Qualcomm AI Hub — LaMa-Dilated](https://aihub.qualcomm.com/models/lama_dilated), which is
|
| 29 |
+
based on the original [LAMA](https://github.com/advimman/lama) model by Samsung AI Center.
|
| 30 |
+
|
| 31 |
+
## License
|
| 32 |
+
|
| 33 |
+
[BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause)
|