Downloads · 30 days
0
wide-video/ultraface-v0.0.0
ultraface-v0.0.0 is a machine learning model from wide-video. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
0
Access
Public
Updated Apr 7, 2026
Repo size
2.6 MB
Likes
0
Public
Click a slice to open those files.
.onnx2.6 MB · 100%
From the Hugging Face model README
!pip install --upgrade onnx onnxsim
import onnx
from onnxsim import simplify
from onnx import version_converter
import urllib.request
MODEL_URL = "https://github.com/Linzaer/Ultra-Light-Fast-Generic-Face-Detector-1MB/raw/master/models/onnx/version-RFB-640.onnx"
INPUT_FILENAME = "rfb640_original.onnx"
urllib.request.urlretrieve(MODEL_URL, INPUT_FILENAME)
model = onnx.load(INPUT_FILENAME)
optimized_model = version_converter.convert_version(model, 17)
model_simp, check = simplify(
optimized_model,
overwrite_input_shapes={'input': [1, 3, 480, 640]}
)
onnx.save(model_simp, "version-RFB-640_simplified_fixed.onnx")