Skip to content

Commit

Permalink
fixes eval bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mgharbi authored Mar 31, 2018
1 parent 5ac95ef commit 2d30dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hdrnet/bin/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def main(args, model_params, data_params):
eval_prediction = mdl.inference(
eval_samples['lowres_input'], eval_samples['image_input'],
model_params, is_training=False)
eval_psnr = metrics.psnr(eval_samples['image_output'], prediction)
eval_psnr = metrics.psnr(eval_samples['image_output'], eval_prediction)

# Optimizer
global_step = tf.contrib.framework.get_or_create_global_step()
Expand Down

0 comments on commit 2d30dc8

Please sign in to comment.