From 212e14ec93489fcaa8a039c4bc64abeb8852c5ec Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Wed, 21 Jun 2017 08:55:56 +0200 Subject: [PATCH] Fix. --- svrtset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svrtset.py b/svrtset.py index ead6083..8f03f37 100755 --- a/svrtset.py +++ b/svrtset.py @@ -136,7 +136,7 @@ class CompressedVignetteSet: raise mem = (resource.getrusage(resource.RUSAGE_SELF).ru_maxrss - usage) * 1024 - print('Using ' + str(mem / (1024 * 1024)) + 'Gb / ' + + print('Using ' + str(mem / (1024 * 1024 * 1024)) + 'Gb / ' + str(mem / self.nb_samples) + ' bytes per sample') self.mean = acc / self.nb_batches -- 2.39.5