Gsmv's picture
|
download
raw
1.11 kB
# Background remover (browser build)
fp16 ONNX export of ISNet `isnet-general-use`
([DIS, xuebinqin/DIS](https://github.com/xuebinqin/DIS)) as distributed by
[rembg](https://github.com/danielgatis/rembg) (`isnet-general-use.onnx`, sha256
`60920e99c45464f2ba57bee2ad08c919a52bbf852739e96947fbb4358c0d964a`). Licensed under the
Apache License 2.0 (see `LICENSE`); this file is a modified version: its weights and
internal computation were converted to float16 (onnxruntime `convert_float_to_float16`,
`keep_io_types=True`), so inputs and outputs stay float32. On test photos the normalised
mask differs from the fp32 model by at most 0.004 (below one 8-bit alpha step).
Used by the free background remover on wavespeed.ai, which runs it in the browser with
onnxruntime-web.
Input `input_image`: float32 [1, 3, 1024, 1024], RGB resized to 1024x1024, scaled to
x / 255 - 0.5. Output `output_image`: float32 [1, 1, 1024, 1024], a saliency map;
min-max normalise it to get the alpha mask.
`isnet-general-use-fp16.onnx` sha256
`3fd7a4f645a1d330cb275611196bbb3d6687935bc429cf7bc21bfb095236333e`, 90,648,790 bytes.

Xet Storage Details

Size:
1.11 kB
·
Xet hash:
6ddb1686e8db408c2783bf1aec82199f59a8ce59ef9af0b27067dd4e543f6796

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.