cleaning up demos

This commit is contained in:
William Falcon
2019-10-05 16:38:48 -04:00
parent 602236ecf2
commit dccab6ce19
+1 -1
View File
@@ -1132,7 +1132,7 @@ class Trainer(TrainerIO):
# add gpu memory
if self.on_gpu and self.log_gpu_memory:
mem_map = memory.get_memory_profile()
mem_map = memory.get_memory_profile(self.log_gpu_memory)
metrics.update(mem_map)
# add norms