Added Yolo v3

This commit is contained in:
AlexeyAB
2018-03-28 02:59:03 +03:00
parent 47c7af1cea
commit d9ae3dd681
37 changed files with 3666 additions and 23 deletions

View File

@ -5,6 +5,7 @@ typedef struct{
int *leaf;
int n;
int *parent;
int *child;
int *group;
char **name;
@ -14,6 +15,7 @@ typedef struct{
} 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);