/ Модель

Характеристики

Лицензия
Apache 2.0
Библиотека
onnx
Опубликована
20 июл 2026

nitec-resnet-18-int8-onnx

Классификация изображенийИзображение → label

Квантованная версия NITEC ResNet-18 в формате ONNX классифицирует, смотрит ли уже обрезанное лицо в камеру.

11скачиваний за 30 дней0лайковвеса обновлены22 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Arm публикует NITEC ResNet-18 INT8 — статически квантованный граф ONNX для классификации контакта лица с камерой. Модель принимает уже обнаруженный и плотно обрезанный фрагмент лица в RGB и относит его к классу «контакт с камерой» или «нет контакта». Это не детектор лиц, и модель не предназначена для обработки целой сцены напрямую.

Артефакт преобразован из NITEC ResNet-18 Торстена Хемпеля и оптимизирован для запуска на платформах Arm; переобучение или дообучение не проводилось. Файлы распространяются в формате ONNX по лицензии Apache-2.0. Проверка подтвердила запуск графа в ONNX Runtime на CPU с конечными логитами, но не измеряла точность или производительность. Выпуск предназначен как справочная реализация для оценки работы на Arm и не позиционируется как готовое или поддерживаемое производственное решение.

Результаты могут зависеть от позы, перекрытий, освещения, качества обрезки и расположения камеры. Для практического применения требуется отдельно подготовить корректные обрезки лиц и оценить качество модели в целевых условиях.

Сценарии применения

  • Классификация контакта лица с камерой на обрезках лиц
  • Определение отсутствия контакта с камерой на обрезках лиц
  • Оценка запуска классификатора на платформах Arm

Ограничения

Модель принимает только плотно обрезанные RGB-лица и не обнаруживает лица в полной сцене. Точность не оценивалась; результат может зависеть от позы, перекрытий, освещения, качества обрезки и расположения камеры.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

NITEC ResNet-18 INT8 — Camera Contact

This model classifies an RGB face crop as camera contact or no camera contact. It is the NITEC ResNet-18 checkpoint converted to an A8W8, statically quantized ONNX graph for ONNX Runtime.

Artifact

ItemValue
Filecam_contact_nitec_rs18-a8w8-ort-quantized.onnx
SHA-256eff8cfcce4ebdbdab68ad338c67c5608ffaf856808e5739b4289e5e7ddd7366d
Size11,352,950 bytes
Inputx, FLOAT [1, 3, 224, 224], RGB NCHW
Outputlinear, FLOAT [1, 2] logits
Classes0: no contact; 1: contact
ONNX opset20

See config.yaml for the complete inference recipe.

Example

By default, the example runs every face crop under samples/ and writes its predicted classification under assets/. The bundled examples include two contact and two no contact results.

InputInferred visualization
python -m pip install numpy onnxruntime pillow pyyaml
python example.py
python example.py samples/face-crop-0.png assets/custom-classification.png

The script parses config.yaml, making its tensor names, shapes, resize and center-crop behavior, normalization, class labels, and softmax postprocessing an executable inference recipe. Image loading, preprocessing, ONNX inference, output postprocessing, visualization, and saving remain separate steps for reuse.

Download

hf download Arm/nitec-resnet-18-int8-onnx \
  cam_contact_nitec_rs18-a8w8-ort-quantized.onnx \
  --local-dir .

Validation

The artifact completed an interface smoke test with ONNX Runtime 1.30.0 using CPUExecutionProvider on x86-64. It produced finite classification logits with the documented shape. This is not an accuracy or performance measurement.

Intended use and limitations

  • Intended for camera-contact classification on already detected, tightly cropped faces.
  • It is not a face detector and does not accept a full scene directly.
  • Performance may vary with pose, occlusion, lighting, crop quality, and camera placement.

References

About this version

Original Model: NITEC ResNet-18 by Thorsten Hempel et al. - Repository

Optimization/conversion: Arm-Optimized version for execution on Arm-based platforms.

Converted/optimized by: Arm

License: The published artifacts in this repository are distributed under Apache-2.0.

This repository contains a converted or optimized version of the Original Model (the “Optimized Model”). The Original Model has been converted or optimized as described above for execution on Arm-based platforms.

No retraining or fine-tuning of the Original Model was performed as part of the conversion or optimization. The conversion or optimization was not intended to change the Original Model’s behavior or intended use.

Original Model and Documentation

For information about the Original Model, including its development, training data, intended uses, limitations and other relevant information, please refer to the Original Model repository. Information in that repository was provided by the original developer or other third parties and, unless expressly stated otherwise, has not been independently verified by Arm.

Licenses and Third-Party Terms

Use of the Original Model and the Optimized Model is subject to the applicable licenses, usage restrictions and other terms identified above and in the relevant repositories. Publication of the Optimized Model does not grant any rights beyond those provided under the applicable license terms.

You are responsible for reviewing those terms and ensuring that your use of the Original Model and the Optimized Model is permitted.

Purpose of this Release

The Optimized Model is provided as a reference implementation to demonstrate and evaluate execution and performance on Arm-based systems. It is not a production-ready or supported solution.

Arm’s publication of the Optimized Model does not constitute an endorsement or certification of the Original Model or a representation that the Optimized Model is suitable for production use or any particular purpose.

To the fullest extent permitted by applicable law (i) the Optimized Model is provided “as is.” Arm makes no representations or warranties that the Original Model, the Optimized Model or their outputs are accurate, safe, secure, non-infringing, legally compliant, suitable for production use or fit for any particular purpose; and (ii) Arm will not be liable for any loss or damage arising from or in connection with the Optimized Model, its use or its outputs.

You are responsible for independently evaluating the Optimized Model, its outputs and its suitability for your intended use, including compliance with applicable legal, regulatory, safety and security requirements.

Arm does not commit to provide ongoing support, maintenance or updates for the Optimized Model. Any use of or reliance on the Optimized Model or its outputs is at your own risk.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · onnx

Нельзя запустить

В репозитории нет весов в формате PyTorch/safetensors.

Ревизия весов
12cb65f

0 моделей