no mean on input binarization

This commit is contained in:
Joseph Redmon
2016-06-19 14:28:15 -07:00
parent 8322a58cf6
commit 08c7cf9c88
5 changed files with 35 additions and 8 deletions

View File

@ -133,9 +133,11 @@ void forward_detection_layer(const detection_layer l, network_state state)
best_index = 0;
}
}
/*
if(1 && *(state.net.seen) < 100000){
best_index = rand()%l.n;
}
*/
int box_index = index + locations*(l.classes + l.n) + (i*l.n + best_index) * l.coords;
int tbox_index = truth_index + 1 + l.classes;