Browse code

whoops, revert change of scale sensitivity

Jorn Hoofwijk authored on 30/04/2018 15:31:12
Showing 1 changed files
... ...
@@ -267,7 +267,7 @@ class Learner1D(BaseLearner):
267 267
         self.update_losses(x, real)
268 268
 
269 269
         # If the scale has increased enough, recompute all losses.
270
-        if self._scale[1] > self._oldscale[1] * 1.1:
270
+        if self._scale[1] > self._oldscale[1] * 2:
271 271
 
272 272
             for interval in self.losses:
273 273
                 self.update_interpolated_losses_in_interval(*interval)