Darknet/YOLO v3.0-149-gb11c9d5
Object Detection Framework
 
Loading...
Searching...
No Matches
region_layer.cpp File Reference
Include dependency graph for region_layer.cpp:

Macros

#define DOABS   1
 

Functions

void backward_region_layer (Darknet::Layer &l, Darknet::NetworkState state)
 
void backward_region_layer_gpu (Darknet::Layer &l, Darknet::NetworkState state)
 
void correct_region_boxes (Darknet::Detection *dets, int n, int w, int h, int netw, int neth, int relative)
 
float delta_region_box (Darknet::Box truth, float *x, float *biases, int n, int index, int i, int j, int w, int h, float *delta, float scale)
 
void delta_region_class (float *output, float *delta, int index, int class_id, int classes, Darknet::Tree *hier, float scale, float *avg_cat, int focal_loss)
 
void forward_region_layer (Darknet::Layer &l, Darknet::NetworkState state)
 
void forward_region_layer_gpu (Darknet::Layer &l, Darknet::NetworkState state)
 
Darknet::Box get_region_box (float *x, float *biases, int n, int index, int i, int j, int w, int h)
 
void get_region_boxes (const Darknet::Layer &l, int w, int h, float thresh, float **probs, Darknet::Box *boxes, int only_objectness, int *map)
 
void get_region_detections (Darknet::Layer l, int w, int h, int netw, int neth, float thresh, int *map, float tree_thresh, int relative, Darknet::Detection *dets)
 
float logit (float x)
 
Darknet::Layer make_region_layer (int batch, int w, int h, int n, int classes, int coords, int max_boxes)
 
void resize_region_layer (Darknet::Layer *l, int w, int h)
 
void softmax_tree (float *input, int batch, int inputs, float temp, Darknet::Tree *hierarchy, float *output)
 
float tisnan (float x)
 
void zero_objectness (Darknet::Layer &l)
 

Macro Definition Documentation

◆ DOABS

#define DOABS   1

Function Documentation

◆ backward_region_layer()

void backward_region_layer ( Darknet::Layer l,
Darknet::NetworkState  state 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ backward_region_layer_gpu()

void backward_region_layer_gpu ( Darknet::Layer l,
Darknet::NetworkState  state 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ correct_region_boxes()

void correct_region_boxes ( Darknet::Detection dets,
int  n,
int  w,
int  h,
int  netw,
int  neth,
int  relative 
)
Here is the caller graph for this function:

◆ delta_region_box()

float delta_region_box ( Darknet::Box  truth,
float *  x,
float *  biases,
int  n,
int  index,
int  i,
int  j,
int  w,
int  h,
float *  delta,
float  scale 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ delta_region_class()

void delta_region_class ( float *  output,
float *  delta,
int  index,
int  class_id,
int  classes,
Darknet::Tree hier,
float  scale,
float *  avg_cat,
int  focal_loss 
)
Here is the caller graph for this function:

◆ forward_region_layer()

void forward_region_layer ( Darknet::Layer l,
Darknet::NetworkState  state 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ forward_region_layer_gpu()

void forward_region_layer_gpu ( Darknet::Layer l,
Darknet::NetworkState  state 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_region_box()

Darknet::Box get_region_box ( float *  x,
float *  biases,
int  n,
int  index,
int  i,
int  j,
int  w,
int  h 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_region_boxes()

void get_region_boxes ( const Darknet::Layer l,
int  w,
int  h,
float  thresh,
float **  probs,
Darknet::Box boxes,
int  only_objectness,
int *  map 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_region_detections()

void get_region_detections ( Darknet::Layer  l,
int  w,
int  h,
int  netw,
int  neth,
float  thresh,
int *  map,
float  tree_thresh,
int  relative,
Darknet::Detection dets 
)
Here is the call graph for this function:

◆ logit()

float logit ( float  x)

◆ make_region_layer()

Darknet::Layer make_region_layer ( int  batch,
int  w,
int  h,
int  n,
int  classes,
int  coords,
int  max_boxes 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resize_region_layer()

void resize_region_layer ( Darknet::Layer l,
int  w,
int  h 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ softmax_tree()

void softmax_tree ( float *  input,
int  batch,
int  inputs,
float  temp,
Darknet::Tree hierarchy,
float *  output 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tisnan()

float tisnan ( float  x)

◆ zero_objectness()

void zero_objectness ( Darknet::Layer l)