We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d2c15 commit 66f0a5cCopy full SHA for 66f0a5c
train.py
@@ -326,7 +326,8 @@ def evaluate():
326
# print(valid_lr_img.min(), valid_lr_img.max())
327
328
G = get_G([1, None, None, 3])
329
- G.load_weights(checkpoint_dir + '/g_{}.h5'.format(tl.global_flag['mode']))
+ # G.load_weights(checkpoint_dir + '/g_{}.h5'.format(tl.global_flag['mode']))
330
+ G.load_weights("g_srgan.npz")
331
G.eval()
332
333
out = G(valid_lr_img).numpy()
0 commit comments