mirror of https://github.com/davisking/dlib.git
Relaxes test to avoid false alarms.
This commit is contained in:
parent
69d6f7c709
commit
594df9a66d
|
@ -870,7 +870,7 @@ namespace
|
|||
conv2.get_gradient_for_filters(true, gi, data, filter_gradient2);
|
||||
|
||||
dlog << LINFO << "filter gradient error: "<< max(abs(mat(filter_gradient1)-mat(filter_gradient2)));
|
||||
DLIB_TEST_MSG(max(abs(mat(filter_gradient1)-mat(filter_gradient2))) < 1e-3, max(abs(mat(filter_gradient1)-mat(filter_gradient2))));
|
||||
DLIB_TEST_MSG(max(abs(mat(filter_gradient1)-mat(filter_gradient2))) < 2e-3, max(abs(mat(filter_gradient1)-mat(filter_gradient2))));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue