Skip to content
Snippets Groups Projects
Commit 151015e9 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 95d07f90
No related branches found
No related tags found
No related merge requests found
......@@ -154,8 +154,6 @@ class Trainer(object):
utils.save_checkpoint(checkpoint, "phase_1", self.model_dir)
previous_loss = psnr_metric.result()
start_time = time.time()
if GENERATOR_ONLY:
return
def train_gan(self, generator, discriminator):
""" Implements Training routine for ESRGAN
......@@ -342,3 +340,5 @@ class Trainer(object):
last_psnr = psnr_metric.result()
utils.save_checkpoint(checkpoint, "phase_2", self.model_dir)
start = time.time()
if GENERATOR_ONLY:
return
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment