From 989ab8c38a02fa7ea9c25108151736c62e81c972 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Fri, 24 Apr 2015 17:27:50 +0000
Subject: [PATCH] IOU loss function
---
src/utils.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/utils.h b/src/utils.h
index 578abc3..0db16de 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -36,5 +36,9 @@
float mag_array(float *a, int n);
float **one_hot_encode(float *a, int n, int k);
float sec(clock_t clocks);
+
+typedef struct{
+ float x, y, w, h;
+} box;
#endif
--
Gitblit v1.10.0