"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "9ce89e2efadbb4a67368ae2035782d85994c56b3"
Commit becd071a authored by Davis King's avatar Davis King
Browse files

Minor change to increase robustness to numerical errors.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403477
parent 64c4f6df
...@@ -167,8 +167,7 @@ namespace dlib ...@@ -167,8 +167,7 @@ namespace dlib
alpha(small_idx) = old_alpha_big + old_alpha_small; alpha(small_idx) = old_alpha_big + old_alpha_small;
} }
if ((iter%(max_iter/100)) == (max_iter/100 -1))
if ((iter%(max_iter/10)) == (max_iter/10 -1))
{ {
// Perform this form of the update every so often because doing so can help // Perform this form of the update every so often because doing so can help
// avoid the buildup of numerical errors you get with the alternate update // avoid the buildup of numerical errors you get with the alternate update
......
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