ONNX Model Zoo

tarto2/visiontest

By tarto2 · ↓ 0 · ♥ 0 · Updated 2025-12-17

What's in this repo

This page lists the files in tarto2/visiontest, including best.onnx, detection.onnx, object-detection.onnx.

  • 3 ONNX models (.onnx files)
  • 54 files, including 15 .py, 13 .pyc, 7 .pt, 3 .onnx, 2 .engine, 1 .md
  • Last updated 2025-12-17

ONNX files

File Size Download
best.onnx — Download
detection.onnx — Download
object-detection.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

🚀 Example Chute for Turbovision 🪂

This repository demonstrates how to deploy a Chute via the Turbovision CLI, hosted on Hugging Face Hub. It serves as a minimal example showcasing the required structure and workflow for integrating machine learning models, preprocessing, and orchestration into a reproducible Chute environment.

Repository Structure

The following two files must be present (in their current locations) for a successful deployment — their content can be modified as needed:

File Purpose
miner.py Defines the ML model type(s), orchestration, and all pre/postprocessing logic.
config.yml Specifies machine configuration (e.g., GPU type, memory, environment variables).

Other files — e.g., model weights, utility scripts, or dependencies — are optional and can be included as needed for your model.

Note: Any required assets must be defined or contained within this repo, which is fully open-source, since all network-related operations (downloading challenge data, weights, etc.) are disabled inside the Chute.

Overview

Below is a high-level diagram showing the interaction between Huggingface, Chutes and Turbovision:

┌─────────────┐      ┌──────────┐      ┌──────────────┐
│ HuggingFace │ ───> │  Chutes   │ ───> │ Turbovision │
│     Hub     │      │    .ai    │      │   Validator │
└─────────────┘      └──────────┘      └──────────────┘

Local Testing

After editing the config.yml and miner.py and saving it into your Huggingface Repo, you will want to test it works locally.

  1. Copy the template file scorevision/chute_template/turbovision_chute.py.j2 as a python file called my_chute.py and fill in the missing variables:
HF_REPO_NAME = "{{ huggingface_repository_name }}"
HF_REPO_REVISION = "{{ huggingface_repository_revision }}"
CHUTES_USERNAME = "{{ chute_username }}"
CHUTE_NAME = "{{ chute_name }}"
  1. Run the following command to build the chute locally (Caution: there are known issues with the docker location when running this on a mac):
chutes build my_chute:chute --local --public
  1. Run the name of the docker image just built (i.e. CHUTE_NAME) and enter it:
docker run -p 8000:8000 -e CHUTES_EXECUTION_CONTEXT=REMOTE -it <image-name> /bin/bash
  1. Run the file from within the container:
chutes run my_chute:chute --dev --debug
  1. In another terminal, test the local endpoints to ensure there are no bugs:
# Health check
curl -X POST http://localhost:8000/health -d '{}'

# Prediction test
curl -X POST http://localhost:8000/predict -d '{"url": "https://scoredata.me/2025_03_14/35ae7a/h1_0f2ca0.mp4","meta": {}}'

Live Testing

If you have any chute with the same name (i.e. from a previous deployment), ensure you delete that first (or you will get an error when trying to build).

  1. List existing chutes:
chutes chutes list

Take note of the chute id that you wish to delete (if any):

chutes chutes delete <chute-id>
  1. You should also delete its associated image:
chutes images list

Take note of the chute image id:

chutes images delete <chute-image-id>
  1. Use Turbovision's CLI to build, deploy and commit on-chain:
sv -vv push

Note: You can skip the on-chain commit using --no-commit. You can also specify a past huggingface revision to point to using --revision and/or the local files you want to upload to your huggingface repo using --model-path.

  1. When completed, warm up the chute (if its cold 🧊):

You can confirm its status using chutes chutes list or chutes chutes get <chute-id> if you already know its id.

Note: Warming up can sometimes take a while but if the chute runs without errors (should be if you've tested locally first) and there are sufficient nodes (i.e. machines) available matching the config.yml you specified, the chute should become hot 🔥!

chutes warmup <chute-id>
  1. Test the chute's endpoints:
# Health check
curl -X POST https://<YOUR-CHUTE-SLUG>.chutes.ai/health -d '{}' -H "Authorization: Bearer $CHUTES_API_KEY"

# Prediction
curl -X POST https://<YOUR-CHUTE-SLUG>.chutes.ai/predict -d '{"url": "https://scoredata.me/2025_03_14/35ae7a/h1_0f2ca0.mp4","meta": {}}' -H "Authorization: Bearer $CHUTES_API_KEY"
  1. Test what your chute would get on a validator:

This also applies any validation/integrity checks which may fail if you did not use the Turbovision CLI above to deploy the chute:

sv -vv run-once

Model info

onnx region:us
↓ 0 ♥ 0

Created: 2025-12-17

Updated: 2025-12-17

View on Hugging Face

Files (54)

.gitattributes
.gitignore
20251029-detection.pt
20251029-keypoint.pt
README.md
SV_kp.engine
__pycache__/keypoint_evaluation.cpython-312.pyc
__pycache__/keypoint_helper.cpython-312.pyc
__pycache__/keypoint_helper_v2.cpython-312.pyc
__pycache__/keypoint_helper_v2.cpython-312.pyc.2609775282608
__pycache__/keypoint_helper_v2_optimized.cpython-312.pyc
__pycache__/keypoint_helper_v2_optimized.cpython-312.pyc.1837368399824
__pycache__/keypoint_helper_v2_optimized.cpython-312.pyc.2364780042192
__pycache__/keypoint_helper_v2_optimized.cpython-312.pyc.2618992613328
__pycache__/miner.cpython-312.pyc
__pycache__/miner.cpython-312.pyc.2050184619568
__pycache__/miner.cpython-312.pyc.2701627401776
__pycache__/miner1.cpython-312.pyc
__pycache__/miner2.cpython-312.pyc
__pycache__/miner3.cpython-312.pyc
__pycache__/pitch.cpython-312.pyc
__pycache__/test_predict_batch.cpython-312.pyc
best.engine
best.onnx ONNX
best.pt
config.yml
detection.onnx ONNX
detection.pt
evaluate_from_url.py
football_object_detection.pt
football_pitch_template.png
hrnetv2_w48.yaml
inspect_yolo_model.py
keypoint
keypoint.pt
keypoint_evaluation.py
keypoint_helper.py
keypoint_helper_v2.py
keypoint_helper_v2_optimized.py
miner.py
miner1.py
miner2.py
miner3.py
object-detection.onnx ONNX
osnet_ain.pyc
osnet_model.pth.tar-100
pitch.py
player.pt
player.py
team_cluster.pyc
test_predict_batch.py
test_predict_keypoints_video.py
test_predict_objects_video.py
utils.pyc

Related models