testing on one image

This commit is contained in:
Joseph Redmon
2015-06-11 15:38:58 -07:00
parent d41fbf638e
commit 11c72b1132
8 changed files with 1046 additions and 30 deletions

View File

@ -29,10 +29,10 @@ detection_layer make_detection_layer(int batch, int inputs, int classes, int coo
l.coords = coords;
l.rescore = rescore;
l.objectness = objectness;
l.background = background;
l.joint = joint;
l.cost = calloc(1, sizeof(float));
l.does_cost=1;
l.background = background;
int outputs = get_detection_layer_output_size(l);
l.outputs = outputs;
l.output = calloc(batch*outputs, sizeof(float));