d78a6f10ce5360c49d25166c4acb1e4ccb32734d,hypergan/trainers/alternating_trainer.py,AlternatingTrainer,print_metrics,#AlternatingTrainer#Any#,67
Before Change
def print_metrics(self, step):
metrics = self.gan.metrics()
metric_values = self.gan.session.run(self.output_variables(metrics))
print(str(self.output_string(metrics) % tuple([step] + metric_values)))
def distributed_step(self):
config = self.config
After Change
def print_metrics(self, step):
metrics = self.gan.metrics()
metric_values = self.output_variables(metrics)
print(str(self.output_string(metrics) % tuple([step] + metric_values)))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: HyperGAN/HyperGAN
Commit Name: d78a6f10ce5360c49d25166c4acb1e4ccb32734d
Time: 2020-02-07
Author: martyn@255bits.com
File Name: hypergan/trainers/alternating_trainer.py
Class Name: AlternatingTrainer
Method Name: print_metrics
Project Name: HyperGAN/HyperGAN
Commit Name: ce7b0efe856600850a5fa48fe3cedd86764be118
Time: 2020-02-06
Author: mikkel@255bits.com
File Name: hypergan/trainers/simultaneous_trainer.py
Class Name: SimultaneousTrainer
Method Name: print_metrics
Project Name: HyperGAN/HyperGAN
Commit Name: 34d424e83d246ca7485cf2b952787db06d47cfac
Time: 2019-08-28
Author: mikkel@255bits.com
File Name: hypergan/trainers/simultaneous_trainer.py
Class Name: SimultaneousTrainer
Method Name: _step