NDPDevloper/onnx
By NDPDevloper · ↓ 0 · ♥ 0 · Updated 2025-09-10
What's in this repo
This page lists the files in NDPDevloper/onnx, including model.onnx, model_int8.onnx.
- 2 ONNX models (.onnx files)
- 5 files, including 2 .onnx, 1 .md, 1 .py
- Last updated 2025-09-10
ONNX files
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
ONNX Background Remover Model (RMBG-2.0)
This repository contains the ONNX export of the RMBG-2.0 background removal model.
Files
model.onnx→ Original FP32 model (≈1.02 GB)model_int8.onnx→ Quantized INT8 model (smaller, faster)quantize.py→ Script to quantize FP32 → INT8
Usage
Load Quantized Model
from huggingface_hub import hf_hub_download
import onnxruntime as ort
# Download quantized model
model_path = hf_hub_download("NDPDevloper/onnx", "model_int8.onnx")
# Create ONNXRuntime session
session = ort.InferenceSession(model_path, providers=["CPUExecutionProvider"])
Model info
onnx
license:mit
region:us
↓ 0
♥ 0
Created: 2025-09-08
Updated: 2025-09-10
View on Hugging FaceFiles (5)
.gitattributes
README.md
model.onnx
ONNX
model_int8.onnx
ONNX
quantize.py
Related models
More from NDPDevloper
No other models by this author.
More models
No task type declared.