Model Benchmark

A terminal window displaying some model benchmarking statistics.

This sample provides performance details of a particular model, including the framerate (model evaluation latency), CPU usage, memory usage, and so on. Install different Xnor models and compare their performance!

Language

C, Python

Location

xnor-sdk-<hardware-target>/samples/python/model_benchmark.py, xnor-sdk-<hardware-target>/samples/c/model_benchmark.c

Dependencies

psutil (Python), an installed Xnor model.

Compatible Xnor Models

All Xnor models

Example Usage

python3 model_benchmark.py