Namespaces | |
namespace | Darknet |
The namespace for the C++ Darknet API. | |
Functions | |
data | concat_data (data d1, data d2) |
void | Darknet::free_data (data &d) |
Frees the "data buffer" used to load images. | |
data | get_data_part (data d, int part, int total) |
void | get_next_batch (data d, int n, int offset, float *X, float *y) |
list * | get_paths (const char *filename) |
void | Darknet::image_loading_loop (const int idx, load_args args) |
Run the permanent thread image loading loop. | |
data | load_data_detection (int n, char **paths, int m, int w, int h, int c, int boxes, int truth_size, int classes, int use_flip, int gaussian_noise, int use_blur, int use_mixup, float jitter, float resize, float hue, float saturation, float exposure, int mini_batch, int track, int augment_speed, int letter_box, int mosaic_bound, int contrastive, int contrastive_jit_flip, int contrastive_color, int show_imgs) |
void | Darknet::load_single_image_data (load_args args) |
Load the given image data as described by the load_args parameter. | |
box_label * | read_boxes (char *filename, int *n) |
void | Darknet::run_image_loading_control_thread (load_args args) |
This runs as a std::thread . | |
void | Darknet::stop_image_loading_threads () |
Stop and join the image loading threads started in Darknet::run_image_loading_control_thread(). | |
void get_next_batch | ( | data | d, |
int | n, | ||
int | offset, | ||
float * | X, | ||
float * | y | ||
) |
list * get_paths | ( | const char * | filename | ) |
data load_data_detection | ( | int | n, |
char ** | paths, | ||
int | m, | ||
int | w, | ||
int | h, | ||
int | c, | ||
int | boxes, | ||
int | truth_size, | ||
int | classes, | ||
int | use_flip, | ||
int | gaussian_noise, | ||
int | use_blur, | ||
int | use_mixup, | ||
float | jitter, | ||
float | resize, | ||
float | hue, | ||
float | saturation, | ||
float | exposure, | ||
int | mini_batch, | ||
int | track, | ||
int | augment_speed, | ||
int | letter_box, | ||
int | mosaic_bound, | ||
int | contrastive, | ||
int | contrastive_jit_flip, | ||
int | contrastive_color, | ||
int | show_imgs | ||
) |
box_label * read_boxes | ( | char * | filename, |
int * | n | ||
) |