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
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])
num_points_hack = 1.*num_points
num_points_hack[0] = .4
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
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: ChrisCummins/clgen
Commit Name: f2ba4312cb70551d4a55e6e0b2e14828fdacab1c
Time: 2020-01-25
Author: chrisc.101@gmail.com
File Name: labm8/py/bazelutil.py
Class Name: Workspace
Method Name: GetDependentFiles
Project Name: openeventdata/mordecai
Commit Name: 8f2f0408337cf96ca3d737075068d870a3d0a36c
Time: 2018-07-02
Author: ahalterman0@gmail.com
File Name: mordecai/geoparse.py
Class Name: Geoparser
Method Name: batch_geoparse