Files
aimsight-labeling/auto/revue-croisee/2026-11-04/obstruction/outils/voir.py
T

6 lines
316 B
Python
Raw Normal View History

"""Affiche en entier les étiquettes automatiques données par id (STATION#ligne)."""
import json, sys
for i in sys.argv[1:]:
st, n = i.split('#')
e = json.loads(open(f'labeling/auto/{st}.jsonl').readlines()[int(n) - 1])
print(f"== {i} {e['debut']} -> {e['fin']} {e['categorie']}\n{e['description']}\n")