darknet  v3
Functions | Variables
yolo.c File Reference
#include "darknet.h"
Include dependency graph for yolo.c:

Go to the source code of this file.

Functions

void train_yolo (char *cfgfile, char *weightfile)
 
void print_yolo_detections (FILE **fps, char *id, int total, int classes, int w, int h, detection *dets)
 
void validate_yolo (char *cfg, char *weights)
 
void validate_yolo_recall (char *cfg, char *weights)
 
void test_yolo (char *cfgfile, char *weightfile, char *filename, float thresh)
 
void run_yolo (int argc, char **argv)
 

Variables

char * voc_names [] = {"aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow", "diningtable", "dog", "horse", "motorbike", "person", "pottedplant", "sheep", "sofa", "train", "tvmonitor"}
 

Function Documentation

◆ print_yolo_detections()

void print_yolo_detections ( FILE **  fps,
char *  id,
int  total,
int  classes,
int  w,
int  h,
detection dets 
)

Definition at line 77 of file yolo.c.

◆ run_yolo()

void run_yolo ( int  argc,
char **  argv 
)

Definition at line 307 of file yolo.c.

◆ test_yolo()

void test_yolo ( char *  cfgfile,
char *  weightfile,
char *  filename,
float  thresh 
)

Definition at line 265 of file yolo.c.

◆ train_yolo()

void train_yolo ( char *  cfgfile,
char *  weightfile 
)

Definition at line 5 of file yolo.c.

◆ validate_yolo()

void validate_yolo ( char *  cfg,
char *  weights 
)

Definition at line 98 of file yolo.c.

◆ validate_yolo_recall()

void validate_yolo_recall ( char *  cfg,
char *  weights 
)

Definition at line 182 of file yolo.c.

Variable Documentation

◆ voc_names

char* voc_names[] = {"aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow", "diningtable", "dog", "horse", "motorbike", "person", "pottedplant", "sheep", "sofa", "train", "tvmonitor"}

Definition at line 3 of file yolo.c.