This commit is contained in:
Joseph Redmon
2015-09-09 12:48:40 -07:00
parent b5936b499a
commit 393dc8eb6f
10 changed files with 415 additions and 36 deletions

View File

@ -8,7 +8,7 @@
#include "data.h"
typedef enum {
CONSTANT, STEP, EXP, POLY
CONSTANT, STEP, EXP, POLY, STEPS, SIG
} learning_rate_policy;
typedef struct {
@ -25,9 +25,13 @@ typedef struct {
float learning_rate;
float gamma;
float scale;
float power;
int step;
int max_batches;
float *scales;
int *steps;
int num_steps;
int inputs;
int h, w, c;