Commit 64f36ea1 authored by Davis King's avatar Davis King

Increased the threshold for using separable filters.

parent 0ffdc782
...@@ -581,7 +581,7 @@ namespace dlib ...@@ -581,7 +581,7 @@ namespace dlib
for (unsigned long l = 0; l < feats.size(); ++l) for (unsigned long l = 0; l < feats.size(); ++l)
{ {
rectangle area; rectangle area;
if (num_separable_filters > 62) if (num_separable_filters > 31*3)
{ {
area = spatially_filter_image(feats[l][0], saliency_image, w.filters[0]); area = spatially_filter_image(feats[l][0], saliency_image, w.filters[0]);
for (unsigned long i = 1; i < w.filters.size(); ++i) for (unsigned long i = 1; i < w.filters.size(); ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment