Skip to main content

Requirements

  • Python and pip
  • The runtime packages in requirements.txt; install requirements-dev.txt to run tests
  • For real evaluations, local dataset files and access to the selected model weights
The model wrappers choose CUDA when it is available and otherwise fall back to CPU. Real model inference can require substantial memory and can be slow on CPU.

Install the environment

From the repository root, create and activate a virtual environment, then install the pinned dependencies:

Verify the demo path

Run the focused smoke test:
This test creates one temporary COCO-format image and annotation, then exercises the demo’s data-loading, prediction, metric, and JSON-output flow with a stub model. It does not download model weights or dataset files.

Inspect command options

Before running a real evaluation, prepare the dataset files described in Datasets and choose a supported metric and model.