Drop ISNet and other obsolete pipeline mentions from docs.
Browse files- README.md +2 -5
- withoutbg-onnx.md +5 -6
README.md
CHANGED
|
@@ -17,8 +17,7 @@ Open-source background removal and alpha matting from RGB images. This repositor
|
|
| 17 |
hosts the **OSS variant** exported as a self-contained ONNX graph for ONNX Runtime.
|
| 18 |
|
| 19 |
The graph includes DepthAnythingV2 and a ConvNeXt-fused matting head — no
|
| 20 |
-
PyTorch checkpoints are needed at inference time.
|
| 21 |
-
segmentation, and the refiner are **not** included.
|
| 22 |
|
| 23 |
- **Try it live:** [withoutBG on Hugging Face Spaces](https://huggingface.co/spaces/withoutbg/withoutbg)
|
| 24 |
- **Website:** [withoutbg.com/open-weights-model](https://withoutbg.com/open-weights-model)
|
|
@@ -37,7 +36,6 @@ segmentation, and the refiner are **not** included.
|
|
| 37 |
| ONNX output tensor | 448 × 448 |
|
| 38 |
| Depth | DepthAnythingV2 `vits` (`dav2s`) |
|
| 39 |
| Matting | ConvNeXtFusedMattingUNet (DINOv3 ConvNeXt `base`) |
|
| 40 |
-
| Refiner | disabled |
|
| 41 |
| Transformer opt | disabled |
|
| 42 |
| ORT offline opt | extended |
|
| 43 |
| Size | ~455 MB |
|
|
@@ -56,12 +54,11 @@ and SHA256.
|
|
| 56 |
|
| 57 |
## Architecture
|
| 58 |
|
| 59 |
-
v10
|
| 60 |
|
| 61 |
- **Depth:** DepthAnythingV2 `vits` (`dav2s`)
|
| 62 |
- **Matting:** ConvNeXtFusedMattingUNet — frozen DINOv3 **ConvNeXt** backbone
|
| 63 |
fused into a U-Net on 4-channel RGB+depth at **448²**
|
| 64 |
-
- **Not included:** ISNet edge maps, DINOv3 ViT foreground segmentation, OSS refiner
|
| 65 |
|
| 66 |
Consumers letterbox RGB to the fixed ONNX input tensor (`canvas_size` in the
|
| 67 |
sidecar) and run a single inference session. Depth is computed inside the graph.
|
|
|
|
| 17 |
hosts the **OSS variant** exported as a self-contained ONNX graph for ONNX Runtime.
|
| 18 |
|
| 19 |
The graph includes DepthAnythingV2 and a ConvNeXt-fused matting head — no
|
| 20 |
+
PyTorch checkpoints are needed at inference time.
|
|
|
|
| 21 |
|
| 22 |
- **Try it live:** [withoutBG on Hugging Face Spaces](https://huggingface.co/spaces/withoutbg/withoutbg)
|
| 23 |
- **Website:** [withoutbg.com/open-weights-model](https://withoutbg.com/open-weights-model)
|
|
|
|
| 36 |
| ONNX output tensor | 448 × 448 |
|
| 37 |
| Depth | DepthAnythingV2 `vits` (`dav2s`) |
|
| 38 |
| Matting | ConvNeXtFusedMattingUNet (DINOv3 ConvNeXt `base`) |
|
|
|
|
| 39 |
| Transformer opt | disabled |
|
| 40 |
| ORT offline opt | extended |
|
| 41 |
| Size | ~455 MB |
|
|
|
|
| 54 |
|
| 55 |
## Architecture
|
| 56 |
|
| 57 |
+
v10 pipeline:
|
| 58 |
|
| 59 |
- **Depth:** DepthAnythingV2 `vits` (`dav2s`)
|
| 60 |
- **Matting:** ConvNeXtFusedMattingUNet — frozen DINOv3 **ConvNeXt** backbone
|
| 61 |
fused into a U-Net on 4-channel RGB+depth at **448²**
|
|
|
|
| 62 |
|
| 63 |
Consumers letterbox RGB to the fixed ONNX input tensor (`canvas_size` in the
|
| 64 |
sidecar) and run a single inference session. Depth is computed inside the graph.
|
withoutbg-onnx.md
CHANGED
|
@@ -23,8 +23,8 @@ withoutbg-open-weights.onnx.json
|
|
| 23 |
```
|
| 24 |
|
| 25 |
The ONNX graph is self-contained for inference. It includes DepthAnythingV2 and
|
| 26 |
-
the ConvNeXt-fused matting head
|
| 27 |
-
|
| 28 |
|
| 29 |
Do not distribute local training checkpoints unless the release explicitly calls
|
| 30 |
for source-weight distribution.
|
|
@@ -40,12 +40,11 @@ for source-weight distribution.
|
|
| 40 |
`https://ai.meta.com/resources/models-and-libraries/dinov3-license/`
|
| 41 |
- Main use: background removal / alpha matting from RGB images
|
| 42 |
|
| 43 |
-
v10
|
| 44 |
|
| 45 |
- Depth: DepthAnythingV2 `vits` (`dav2s`)
|
| 46 |
- Matting: ConvNeXtFusedMattingUNet — DINOv3 **ConvNeXt** `base` fused into a
|
| 47 |
U-Net on 4-channel RGB+depth at **448²**
|
| 48 |
-
- **Not included:** ISNet, DINOv3 ViT fgseg, OSS refiner
|
| 49 |
|
| 50 |
## ONNX Contract
|
| 51 |
|
|
@@ -70,8 +69,8 @@ resize the alpha matte back to the original image size.
|
|
| 70 |
|
| 71 |
Read the sidecar JSON first when present. It records the authoritative
|
| 72 |
`canvas_size` (448), `matting_input_size`, `depth_variant`, `convnext_size`,
|
| 73 |
-
|
| 74 |
-
|
| 75 |
|
| 76 |
## Export Command
|
| 77 |
|
|
|
|
| 23 |
```
|
| 24 |
|
| 25 |
The ONNX graph is self-contained for inference. It includes DepthAnythingV2 and
|
| 26 |
+
the ConvNeXt-fused matting head. The serving container does not need PyTorch
|
| 27 |
+
checkpoints at runtime.
|
| 28 |
|
| 29 |
Do not distribute local training checkpoints unless the release explicitly calls
|
| 30 |
for source-weight distribution.
|
|
|
|
| 40 |
`https://ai.meta.com/resources/models-and-libraries/dinov3-license/`
|
| 41 |
- Main use: background removal / alpha matting from RGB images
|
| 42 |
|
| 43 |
+
v10 pipeline:
|
| 44 |
|
| 45 |
- Depth: DepthAnythingV2 `vits` (`dav2s`)
|
| 46 |
- Matting: ConvNeXtFusedMattingUNet — DINOv3 **ConvNeXt** `base` fused into a
|
| 47 |
U-Net on 4-channel RGB+depth at **448²**
|
|
|
|
| 48 |
|
| 49 |
## ONNX Contract
|
| 50 |
|
|
|
|
| 69 |
|
| 70 |
Read the sidecar JSON first when present. It records the authoritative
|
| 71 |
`canvas_size` (448), `matting_input_size`, `depth_variant`, `convnext_size`,
|
| 72 |
+
input and output names, precision, model version, SHA256, and optional
|
| 73 |
+
benchmark/parity values.
|
| 74 |
|
| 75 |
## Export Command
|
| 76 |
|