From 8d6a3a10820db202b79a5cc94a86b1ff0d44a060 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Wed, 23 Dec 2020 12:21:31 +1100 Subject: [PATCH] docs: fix simple typo, sclae -> scale There is a small typo in examples/ssd/mboxloss.py. Should read `scale` rather than `sclae`. --- examples/ssd/mboxloss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ssd/mboxloss.py b/examples/ssd/mboxloss.py index a531d2a9..1377e936 100644 --- a/examples/ssd/mboxloss.py +++ b/examples/ssd/mboxloss.py @@ -180,7 +180,7 @@ def get_errors(self, x, t): loc_diff[self.inds_more] = np.sign(loc_diff[self.inds_more]) # backprop the loc loss - # sclae the loc_predictions by num_matches + # scale the loc_predictions by num_matches loc_diff /= float(num_matches) count = 0