From b8e6e80c6d411d05a9e09f1e3676eb9a7f3ea0e8 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Fri, 03 Aug 2018 11:35:03 +0000
Subject: [PATCH] Added spatial Yolo v3 yolov3-spp.cfg
---
src/tree.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/tree.h b/src/tree.h
index b0b0ece..6983adf 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -5,6 +5,7 @@
int *leaf;
int n;
int *parent;
+ int *child;
int *group;
char **name;
@@ -14,7 +15,9 @@
} tree;
tree *read_tree(char *filename);
+int hierarchy_top_prediction(float *predictions, tree *hier, float thresh, int stride);
void hierarchy_predictions(float *predictions, int n, tree *hier, int only_leaves);
void change_leaves(tree *t, char *leaf_list);
+float get_hierarchy_probability(float *x, tree *hier, int c);
#endif
--
Gitblit v1.10.0