fix ROS profiles and simulator reliability

This commit is contained in:
2026-09-11 23:19:19 +03:00
parent cb5e751d15
commit 21ee4b8b26
14 changed files with 77 additions and 50 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
#!/usr/bin/env python3
"""Рисует bbox, название класса и confidence модели на фотографии."""
import argparse
from pathlib import Path
@@ -28,7 +26,7 @@ def select_device(requested, torch):
def arguments():
parser = argparse.ArgumentParser(description=__doc__)
parser = argparse.ArgumentParser()
parser.add_argument("source", help="Фотография для проверки")
parser.add_argument("--weights", default="models/latest.pt")
parser.add_argument("--output", default="predictions", help="Каталог результата")