Skip to content

Commit 726de8c

Browse files
authored
Merge pull request #191 from SharpAI/develop
Develop
2 parents 60851a3 + 1fa6ef9 commit 726de8c

File tree

2 files changed

+4
-4
lines changed
  • skills/detection
    • yolo-detection-2026-coral-tpu-macos/scripts
    • yolo-detection-2026-coral-tpu-win-wsl/scripts

2 files changed

+4
-4
lines changed

skills/detection/yolo-detection-2026-coral-tpu-macos/scripts/detect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,9 @@ def detect_frame(self, frame_path: str) -> Tuple[List[Dict[str, Any]], Dict[str,
445445
t_post = time.perf_counter()
446446

447447
timings = {
448-
"read": round((t_read - t0) * 1000.0, 2),
448+
"file_read": round((t_read - t0) * 1000.0, 2),
449449
"preprocess": round((t_pre - t_read) * 1000.0, 2),
450-
"infer": round((t_infer - t_pre) * 1000.0, 2),
450+
"inference": round((t_infer - t_pre) * 1000.0, 2),
451451
"postprocess": round((t_post - t_infer) * 1000.0, 2),
452452
"total": round((t_post - t0) * 1000.0, 2),
453453
}

skills/detection/yolo-detection-2026-coral-tpu-win-wsl/scripts/detect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,9 +481,9 @@ def detect_frame(self, frame_path: str) -> Tuple[List[Dict[str, Any]], Dict[str,
481481
t_post = time.perf_counter()
482482

483483
timings = {
484-
"read": round((t_read - t0) * 1000.0, 2),
484+
"file_read": round((t_read - t0) * 1000.0, 2),
485485
"preprocess": round((t_pre - t_read) * 1000.0, 2),
486-
"infer": round((t_infer - t_pre) * 1000.0, 2),
486+
"inference": round((t_infer - t_pre) * 1000.0, 2),
487487
"postprocess": round((t_post - t_infer) * 1000.0, 2),
488488
"total": round((t_post - t0) * 1000.0, 2),
489489
}

0 commit comments

Comments
 (0)