Classes | Typedefs | Enumerations | Functions
data.h File Reference
#include <pthread.h>
#include "matrix.h"
#include "list.h"
#include "image.h"
#include "tree.h"
Include dependency graph for data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  box_label
struct  data
struct  load_args

Typedefs

typedef struct load_args load_args

Enumerations

enum  data_type {
  CLASSIFICATION_DATA, DETECTION_DATA, CAPTCHA_DATA, REGION_DATA,
  IMAGE_DATA, COMPARE_DATA, WRITING_DATA, SWAG_DATA,
  TAG_DATA, OLD_CLASSIFICATION_DATA, STUDY_DATA, DET_DATA,
  SUPER_DATA
}

Functions

data concat_data (data d1, data d2)
data concat_datas (data *d, int n)
static float distance_from_edge (int x, int max)
void fill_truth (char *path, char **labels, int k, float *truth)
void free_data (data d)
data get_data_part (data d, int part, int total)
char ** get_labels (char *filename)
void get_next_batch (data d, int n, int offset, float *X, float *y)
listget_paths (char *filename)
void get_random_batch (data d, int n, float *X, float *y)
data get_random_data (data d, int num)
data load_all_cifar10 ()
data load_categorical_data_csv (char *filename, int target, int k)
data load_cifar10_data (char *filename)
pthread_t load_data (load_args args)
data load_data_augment (char **paths, int n, int m, char **labels, int k, tree *hierarchy, int min, int max, int size, float angle, float aspect, float hue, float saturation, float exposure)
data load_data_captcha (char **paths, int n, int m, int k, int w, int h)
data load_data_captcha_encode (char **paths, int n, int m, int w, int h)
data load_data_detection (int n, char **paths, int m, int w, int h, int boxes, int classes, float jitter, float hue, float saturation, float exposure)
pthread_t load_data_in_thread (load_args args)
data load_data_old (char **paths, int n, int m, char **labels, int k, int w, int h)
data load_data_super (char **paths, int n, int m, int w, int h, int scale)
data load_data_tag (char **paths, int n, int m, int k, int min, int max, int size, float angle, float aspect, float hue, float saturation, float exposure)
data load_data_writing (char **paths, int n, int m, int w, int h, int out_w, int out_h)
data load_go (char *filename)
matrix load_image_augment_paths (char **paths, int n, int min, int max, int size, float angle, float aspect, float hue, float saturation, float exposure)
void normalize_data_rows (data d)
void print_letters (float *pred, int n)
void randomize_data (data d)
box_labelread_boxes (char *filename, int *n)
void scale_data_rows (data d, float s)
datasplit_data (data d, int part, int total)
void translate_data_rows (data d, float s)

Typedef Documentation

typedef struct load_args load_args

Enumeration Type Documentation

enum data_type
Enumerator:
CLASSIFICATION_DATA 
DETECTION_DATA 
CAPTCHA_DATA 
REGION_DATA 
IMAGE_DATA 
COMPARE_DATA 
WRITING_DATA 
SWAG_DATA 
TAG_DATA 
OLD_CLASSIFICATION_DATA 
STUDY_DATA 
DET_DATA 
SUPER_DATA 

Definition at line 30 of file data.h.


Function Documentation

data concat_data ( data  d1,
data  d2 
)

Definition at line 906 of file data.c.

data concat_datas ( data d,
int  n 
)

Definition at line 915 of file data.c.

static float distance_from_edge ( int  x,
int  max 
) [inline, static]

Definition at line 10 of file data.h.

void fill_truth ( char *  path,
char **  labels,
int  k,
float *  truth 
)

Definition at line 385 of file data.c.

void free_data ( data  d)

Definition at line 480 of file data.c.

data get_data_part ( data  d,
int  part,
int  total 
)

Definition at line 1124 of file data.c.

char** get_labels ( char *  filename)

Definition at line 472 of file data.c.

void get_next_batch ( data  d,
int  n,
int  offset,
float *  X,
float *  y 
)

Definition at line 982 of file data.c.

list* get_paths ( char *  filename)

Definition at line 12 of file data.c.

void get_random_batch ( data  d,
int  n,
float *  X,
float *  y 
)

Definition at line 972 of file data.c.

data get_random_data ( data  d,
int  num 
)

Definition at line 1137 of file data.c.

Definition at line 1004 of file data.c.

data load_categorical_data_csv ( char *  filename,
int  target,
int  k 
)

Definition at line 927 of file data.c.

data load_cifar10_data ( char *  filename)

Definition at line 944 of file data.c.

pthread_t load_data ( load_args  args)

Definition at line 787 of file data.c.

data load_data_augment ( char **  paths,
int  n,
int  m,
char **  labels,
int  k,
tree hierarchy,
int  min,
int  max,
int  size,
float  angle,
float  aspect,
float  hue,
float  saturation,
float  exposure 
)

Definition at line 866 of file data.c.

data load_data_captcha ( char **  paths,
int  n,
int  m,
int  k,
int  w,
int  h 
)

Definition at line 358 of file data.c.

data load_data_captcha_encode ( char **  paths,
int  n,
int  m,
int  w,
int  h 
)

Definition at line 373 of file data.c.

data load_data_detection ( int  n,
char **  paths,
int  m,
int  w,
int  h,
int  boxes,
int  classes,
float  jitter,
float  hue,
float  saturation,
float  exposure 
)

Definition at line 662 of file data.c.

pthread_t load_data_in_thread ( load_args  args)

Definition at line 749 of file data.c.

data load_data_old ( char **  paths,
int  n,
int  m,
char **  labels,
int  k,
int  w,
int  h 
)

Definition at line 811 of file data.c.

data load_data_super ( char **  paths,
int  n,
int  m,
int  w,
int  h,
int  scale 
)

Definition at line 836 of file data.c.

data load_data_tag ( char **  paths,
int  n,
int  m,
int  k,
int  min,
int  max,
int  size,
float  angle,
float  aspect,
float  hue,
float  saturation,
float  exposure 
)

Definition at line 877 of file data.c.

data load_data_writing ( char **  paths,
int  n,
int  m,
int  w,
int  h,
int  out_w,
int  out_h 
)

Definition at line 796 of file data.c.

data load_go ( char *  filename)

Definition at line 1038 of file data.c.

matrix load_image_augment_paths ( char **  paths,
int  n,
int  min,
int  max,
int  size,
float  angle,
float  aspect,
float  hue,
float  saturation,
float  exposure 
)

Definition at line 105 of file data.c.

Definition at line 1116 of file data.c.

void print_letters ( float *  pred,
int  n 
)

Definition at line 333 of file data.c.

void randomize_data ( data  d)

Definition at line 1085 of file data.c.

box_label* read_boxes ( char *  filename,
int *  n 
)

Definition at line 133 of file data.c.

void scale_data_rows ( data  d,
float  s 
)

Definition at line 1100 of file data.c.

data* split_data ( data  d,
int  part,
int  total 
)

Definition at line 1160 of file data.c.

void translate_data_rows ( data  d,
float  s 
)

Definition at line 1108 of file data.c.



rail_object_detector
Author(s):
autogenerated on Sat Jun 8 2019 20:26:31