From da7e91f6b12435499e5630bde7f1407302ca5ee3 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 22 Mar 2026 12:26:00 +0100 Subject: docs(cnn_v3): add uv inline deps to export_cnn_v3_weights.py --- cnn_v3/training/export_cnn_v3_weights.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cnn_v3') diff --git a/cnn_v3/training/export_cnn_v3_weights.py b/cnn_v3/training/export_cnn_v3_weights.py index 6d99af9..d1d2893 100644 --- a/cnn_v3/training/export_cnn_v3_weights.py +++ b/cnn_v3/training/export_cnn_v3_weights.py @@ -1,4 +1,11 @@ #!/usr/bin/env python3 +# /// script +# requires-python = ">=3.11" +# dependencies = [ +# "numpy", +# "torch", +# ] +# /// """Export trained CNN v3 weights → binary files for C++ runtime. Outputs -- cgit v1.2.3