From cbc9984a17b3452da4fee397aac912f1e9f7a4c3 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Wed, 10 Jun 2015 07:11:41 +0000
Subject: [PATCH] NIPS
---
src/parser.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/parser.c b/src/parser.c
index 48567a1..c0db443 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -164,10 +164,11 @@
{
int coords = option_find_int(options, "coords", 1);
int classes = option_find_int(options, "classes", 1);
- int rescore = option_find_int(options, "rescore", 1);
- int nuisance = option_find_int(options, "nuisance", 0);
+ int rescore = option_find_int(options, "rescore", 0);
+ int joint = option_find_int(options, "joint", 0);
+ int objectness = option_find_int(options, "objectness", 0);
int background = option_find_int(options, "background", 1);
- detection_layer layer = make_detection_layer(params.batch, params.inputs, classes, coords, rescore, background, nuisance);
+ detection_layer layer = make_detection_layer(params.batch, params.inputs, classes, coords, joint, rescore, background, objectness);
option_unused(options);
return layer;
}
--
Gitblit v1.10.0