You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
277 B

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef TREE_H
  2. #define TREE_H
  3. #include "darknet.h"
  4. namespace DN{
  5. tree *read_tree(char *filename);
  6. int hierarchy_top_prediction(float *predictions, tree *hier, float thresh, int stride);
  7. float get_hierarchy_probability(float *x, tree *hier, int c, int stride);
  8. };
  9. #endif