#include "network.h"
#include "utils.h"
#include "parser.h"
#include "option_list.h"
#include "blas.h"
#include "assert.h"
#include "classifier.h"
#include "cuda.h"
#include <sys/time.h>
Go to the source code of this file.
Functions | |
void | demo_classifier (char *datacfg, char *cfgfile, char *weightfile, int cam_index, const char *filename) |
float * | get_regression_values (char **labels, int n) |
void | gun_classifier (char *datacfg, char *cfgfile, char *weightfile, int cam_index, const char *filename) |
void | label_classifier (char *datacfg, char *filename, char *weightfile) |
void | predict_classifier (char *datacfg, char *cfgfile, char *weightfile, char *filename, int top) |
void | run_classifier (int argc, char **argv) |
void | test_classifier (char *datacfg, char *cfgfile, char *weightfile, int target_layer) |
void | threat_classifier (char *datacfg, char *cfgfile, char *weightfile, int cam_index, const char *filename) |
void | train_classifier (char *datacfg, char *cfgfile, char *weightfile, int *gpus, int ngpus, int clear) |
void | try_classifier (char *datacfg, char *cfgfile, char *weightfile, char *filename, int layer_num) |
void | validate_classifier_10 (char *datacfg, char *filename, char *weightfile) |
void | validate_classifier_crop (char *datacfg, char *filename, char *weightfile) |
void | validate_classifier_full (char *datacfg, char *filename, char *weightfile) |
void | validate_classifier_multi (char *datacfg, char *filename, char *weightfile) |
void | validate_classifier_single (char *datacfg, char *filename, char *weightfile) |
void demo_classifier | ( | char * | datacfg, |
char * | cfgfile, | ||
char * | weightfile, | ||
int | cam_index, | ||
const char * | filename | ||
) |
Definition at line 1045 of file classifier.c.
float* get_regression_values | ( | char ** | labels, |
int | n | ||
) |
Definition at line 16 of file classifier.c.
void gun_classifier | ( | char * | datacfg, |
char * | cfgfile, | ||
char * | weightfile, | ||
int | cam_index, | ||
const char * | filename | ||
) |
Definition at line 966 of file classifier.c.
void label_classifier | ( | char * | datacfg, |
char * | filename, | ||
char * | weightfile | ||
) |
Definition at line 721 of file classifier.c.
void predict_classifier | ( | char * | datacfg, |
char * | cfgfile, | ||
char * | weightfile, | ||
char * | filename, | ||
int | top | ||
) |
Definition at line 666 of file classifier.c.
void run_classifier | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 1113 of file classifier.c.
void test_classifier | ( | char * | datacfg, |
char * | cfgfile, | ||
char * | weightfile, | ||
int | target_layer | ||
) |
Definition at line 760 of file classifier.c.
void threat_classifier | ( | char * | datacfg, |
char * | cfgfile, | ||
char * | weightfile, | ||
int | cam_index, | ||
const char * | filename | ||
) |
Definition at line 833 of file classifier.c.
void train_classifier | ( | char * | datacfg, |
char * | cfgfile, | ||
char * | weightfile, | ||
int * | gpus, | ||
int | ngpus, | ||
int | clear | ||
) |
Definition at line 28 of file classifier.c.
void try_classifier | ( | char * | datacfg, |
char * | cfgfile, | ||
char * | weightfile, | ||
char * | filename, | ||
int | layer_num | ||
) |
Definition at line 585 of file classifier.c.
void validate_classifier_10 | ( | char * | datacfg, |
char * | filename, | ||
char * | weightfile | ||
) |
Definition at line 326 of file classifier.c.
void validate_classifier_crop | ( | char * | datacfg, |
char * | filename, | ||
char * | weightfile | ||
) |
Definition at line 259 of file classifier.c.
void validate_classifier_full | ( | char * | datacfg, |
char * | filename, | ||
char * | weightfile | ||
) |
Definition at line 398 of file classifier.c.
void validate_classifier_multi | ( | char * | datacfg, |
char * | filename, | ||
char * | weightfile | ||
) |
Definition at line 521 of file classifier.c.
void validate_classifier_single | ( | char * | datacfg, |
char * | filename, | ||
char * | weightfile | ||
) |
Definition at line 459 of file classifier.c.