Downloads · 30 days
12
23% of all-time downloads
mnmly/rfdetr-keypoint-preview-mlx-fp32
rfdetr-keypoint-preview-mlx-fp32 is a keypoint detection model from mnmly. Use it for the keypoint detection task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
MLX-format conversion of Roboflow's RF-DETR keypoint-preview (GroupPose) model, for use with mlx-swift-rf-detr on Apple Silicon.
Downloads · 30 days
12
23% of all-time downloads
All-time downloads
53
Public
Parameters
40.7M
163 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors163 MB · 100%
From the Hugging Face model README
MLX-format conversion of Roboflow's RF-DETR keypoint-preview (GroupPose) model, for use with mlx-swift-rf-detr on Apple Silicon.
rf-detr-keypoint-preview-xlarge.pthdinov2_windowed_small (hidden 256)config.json + preprocessor_config.json + model.safetensorsConverted from the upstream PyTorch checkpoint with
Scripts/convert_keypoint.py.
Built person-only (num_classes=1); four dead keypoint_head.keypoint_proj.* keys are dropped.
Weights keep their model. prefix and NCHW conv layout (the Swift loader transposes to NHWC at load).
import MLXRFDETR
let dir = URL(fileURLWithPath: "rfdetr-keypoint-preview-mlx-fp32") // this repo's downloaded files
let predictor = try MLXRFDETR.fromPretrained(dir, scoreThreshold: 0.3, nmsThreshold: 0.5)
let result = try predictor.predict(url: URL(fileURLWithPath: "image.jpg"))
// result carries per-instance keypoints for the GroupPose model.
Apache 2.0 — see LICENSE. Model architecture and weights © Roboflow, Inc. This
repository redistributes a format-converted copy of the upstream Apache-2.0 weights; no weights were
retrained or modified beyond the PyTorch→MLX serialization.