81942b345eb432b44ff3e4cda05fe71ce8ac7fde,test_sweep.py,,,#,24

Before Change


embed()

LOAD_DIR = "/data/big/rzhang/src/pix2pix_stroke/tests_auto/random"
old_results = np.concatenate([np.load("%s/default_random_0_caffe_%04d_%04d_psnrs.npy"%(LOAD_DIR,a,a+100)) for a in range(0,1000,100)])
old_mean = np.mean(old_results, axis=0)
old_std = np.std(old_results, axis=0)/np.sqrt(old_results.shape[0])

num_points_hack = 1.*num_points

After Change



// LOAD_DIR = "/data/big/rzhang/src/pix2pix_stroke/tests_auto/random"
// old_results = np.concatenate([np.load("%s/default_random_0_caffe_%04d_%04d_psnrs.npy"%(LOAD_DIR,a,a+100)) for a in range(0,1000,100)])
old_results = np.load("./psnrs_siggraph.npy")
old_mean = np.mean(old_results, axis=0)
old_std = np.std(old_results, axis=0)/np.sqrt(old_results.shape[0])
print(", ").join(["%.2f"%psnr for psnr in old_mean])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: richzhang/colorization-pytorch
Commit Name: 81942b345eb432b44ff3e4cda05fe71ce8ac7fde
Time: 2018-08-25
Author: rzhang88@gmail.com
File Name: test_sweep.py
Class Name:
Method Name:


Project Name: PPPLDeepLearning/plasma-python
Commit Name: a5734482304bc2b09b263d25525f405b51802952
Time: 2017-01-14
Author: asvyatkovskiy@gmail.com
File Name: plasma/conf_parser.py
Class Name:
Method Name: parameters


Project Name: rusty1s/pytorch_geometric
Commit Name: f6532b3c4c329e6d5d5fb846acc441df47616c4c
Time: 2020-03-22
Author: matthias.fey@tu-dortmund.de
File Name: examples/gnn_explainer.py
Class Name:
Method Name: