Fix.
authorFrancois Fleuret <francois@fleuret.org>
Wed, 21 Jun 2017 06:55:56 +0000 (08:55 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Wed, 21 Jun 2017 06:55:56 +0000 (08:55 +0200)
svrtset.py

index ead6083..8f03f37 100755 (executable)
@@ -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