66f0a5c87917f0abe95f660ea71aa470b2625a40,train.py,,evaluate,#,297
Before Change
// print(valid_lr_img.min(), valid_lr_img.max())
G = get_G([1, None, None, 3])
G.load_weights(checkpoint_dir + "/g_{}.h5".format(tl.global_flag["mode"]))
G.eval()
out = G(valid_lr_img).numpy()
After Change
G = get_G([1, None, None, 3])
// G.load_weights(checkpoint_dir + "/g_{}.h5".format(tl.global_flag["mode"]))
G.load_weights("g_srgan.npz")
G.eval()
out = G(valid_lr_img).numpy()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: tensorlayer/srgan
Commit Name: 66f0a5c87917f0abe95f660ea71aa470b2625a40
Time: 2019-07-28
Author: dhsig552@163.com
File Name: train.py
Class Name:
Method Name: evaluate
Project Name: tensorlayer/srgan
Commit Name: c4510646b306fe1371a76e539f7e54299b1a5c34
Time: 2019-07-28
Author: dhsig552@163.com
File Name: train.py
Class Name:
Method Name: evaluate
Project Name: philipperemy/deep-speaker
Commit Name: e9edc14b48dacc54c52e2330b1b7c570a1702fd4
Time: 2020-04-06
Author: premy.enseirb@gmail.com
File Name: v4/train2.py
Class Name:
Method Name: start_training