f41f3e99c164863ca7b957b704c0e2cc40245272,lib/gui/stats.py,CurrentSession,add_timestats,#CurrentSession#,75

Before Change


        now = time.time()
        self.stats["timestamps"].append(now)
        elapsed_time = now - self.timestats["start"]
        self.timestats["elapsed"] = time.strftime("%H:%M:%S",
                                                  time.gmtime(elapsed_time))

    def save_session(self):
         Save the session file to the modeldir 
        if self.stats["iterations"] > 0:

After Change


        self.stats["timestamps"].append(now)
        elapsed_time = now - self.timestats["start"]
        hrs, mins, secs = convert_time(elapsed_time)
        self.timestats["elapsed"] = "{}:{}:{}".format(hrs, mins, secs)

    def save_session(self):
         Save the session file to the modeldir 
        if self.stats["iterations"] > 0:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepfakes/faceswap
Commit Name: f41f3e99c164863ca7b957b704c0e2cc40245272
Time: 2018-08-20
Author: 36920800+torzdf@users.noreply.github.com
File Name: lib/gui/stats.py
Class Name: CurrentSession
Method Name: add_timestats


Project Name: mariogeiger/se3cnn
Commit Name: bd600a8df0174ea7b9cc1e4502923c9d48af2a14
Time: 2018-04-10
Author: mweiler@dta160174.science.uva.nl
File Name: experiments/util/logger.py
Class Name: logger
Method Name: __init__


Project Name: deepfakes/faceswap
Commit Name: f41f3e99c164863ca7b957b704c0e2cc40245272
Time: 2018-08-20
Author: 36920800+torzdf@users.noreply.github.com
File Name: lib/gui/stats.py
Class Name: SessionsSummary
Method Name: format_summaries