Merge branch 'dev' of https://github.com/shahules786/enhancer into dev-hawk
This commit is contained in:
		
						commit
						41ee2fce0b
					
				|  | @ -230,13 +230,10 @@ class Model(pl.LightningModule): | ||||||
|         for metric in test_mean_metrics.keys(): |         for metric in test_mean_metrics.keys(): | ||||||
|             test_mean_metrics[metric] /= len(outputs) |             test_mean_metrics[metric] /= len(outputs) | ||||||
| 
 | 
 | ||||||
|         for k, v in test_mean_metrics.items(): |         print("----------TEST REPORT----------\n") | ||||||
|             self.logger.experiment.log_metric( |         for metric in test_mean_metrics.keys(): | ||||||
|                 run_id=self.logger.run_id, |             print(f"|{metric.upper()} | {test_mean_metrics[metric]} |") | ||||||
|                 key=k, |         print("--------------------------------") | ||||||
|                 value=v, |  | ||||||
|                 step=self.current_epoch, |  | ||||||
|             ) |  | ||||||
| 
 | 
 | ||||||
|     def on_save_checkpoint(self, checkpoint): |     def on_save_checkpoint(self, checkpoint): | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 shahules786
						shahules786