The labeling scripts are in labeling/scripts/

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-16 13:20:31 +01:00
1 parent a3e6ade845
commit 91cd39525e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -50,5 +50,5 @@ The pumping is in the `~/aimsight-data` repository (`extraction/`, VS Code tasks
## Check
- the app: `.venv/bin/python app/server/check.py`;
- the labels: `python3 labeling/validate.py` (the labels submitted by the app do not have `review` yet, which it requires: as many expected errors);
- the labels: `python3 labeling/scripts/validate.py` (the labels submitted by the app do not have `review` yet, which it requires: as many expected errors);
- the detectors (benchmark, ~3 min): `python3 detectors/bench/regression.py --labels labeling/auto --data data`.
+1 -1
View File
@@ -263,7 +263,7 @@ def read(station, source):
def assign_ids(station, labels):
"""As labeling/ids.py does (D-131): an id for the labels without one, the next of the station, as first field."""
"""As labeling/scripts/ids.py does (D-131): an id for the labels without one, the next of the station, as first field."""
n = max((int(e["id"].rsplit("-", 1)[1]) for e in labels if "id" in e), default=0)
for e in labels:
if "id" not in e: