Skip to content

Commit

Permalink
still trying to reprod the result
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliu committed Jul 10, 2013
1 parent ac4f8ef commit a84368e
Show file tree
Hide file tree
Showing 2 changed files with 285 additions and 118 deletions.
15 changes: 9 additions & 6 deletions bin/icfcreate.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ int main(int argc, char** argv)
file_info.filename[dirlen - 1] = '/';
}
strncpy(file_info.filename + dirlen, file, 1024 - dirlen);
pose.a = (int)(pose.a * 1.1 * 2 + 0.5) * 0.5;
pose.b = (int)(pose.b * 1.1 * 2 + 0.5) * 0.5;
// blow up pose a little bit for INRIA data
file_info.pose = pose;
ccv_array_push(posfiles, &file_info);
}
Expand All @@ -117,16 +120,16 @@ int main(int argc, char** argv)
free(file);
params.interval = 8;
params.grayscale = 0;
params.size.width = 20;
params.size.height = 60;
params.deform_shift = 0.01;
params.size.width = 50;
params.size.height = 120;
params.deform_shift = 0.04;
params.deform_angle = 0;
params.deform_scale = 0.05;
params.deform_scale = 0.075;
params.feature_size = 30000;
params.weak_classifier = 2000;
params.acceptance = acceptance;
params.bootstrap_criteria = 0.0005;
params.bootstrap = 4;
params.bootstrap_criteria = 0;
params.bootstrap = 3;
ccv_icf_multiscale_classifier_cascade_t* classifier = ccv_icf_classifier_cascade_new(posfiles, positive_count, bgfiles, negative_count, working_dir, params);
ccv_icf_write_classifier_cascade(classifier, working_dir);
for (i = 0; i < posfiles->rnum; i++)
Expand Down
Loading

0 comments on commit a84368e

Please sign in to comment.