Skip to content

Commit

Permalink
resize range changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jwchoi384 committed Oct 18, 2019
1 parent 5aa9c9a commit 575237c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/detector.c
Expand Up @@ -132,7 +132,7 @@ void train_detector(char *datacfg, char *cfgfile, char *weightfile, int *gpus, i
if(l.random && count++%10 == 0){
printf("Resizing\n");
// int dim = (rand() % 10 + 10) * 32;
int dim = (rand() % 10 + 12) * 32;
int dim = (rand() % 10 + 12) * 32; // resize range changed
if (get_current_batch(net)+200 > net->max_batches) dim = 608;
//int dim = (rand() % 4 + 16) * 32;
printf("%d\n", dim);
Expand Down

0 comments on commit 575237c

Please sign in to comment.