1215d2390c0ef900337366e7a89e8d21e4bfd592,test_sweep.py,,,#,23
Before Change
import matplotlib.pyplot as plt
plt.close("all")
for (old_psnr,oo) in old_psnrs:
plt.plot(num_points_hack,old_psnr,"k-",label=oo)
// plt.plot([num_points_hack[0],num_points_hack[-1]],[old_psnr[0],old_psnr[0]],"k-",label="%s (auto)"%oo)
plt.plot(num_points_hack,psnrs_mean,"bo-",label="new")
plt.plot(num_points_hack,psnrs_mean+psnrs_std,"b--")
plt.plot(num_points_hack,psnrs_mean-psnrs_std,"b--")
// plt.plot([num_points_hack[0],num_points_hack[-1]],[psnrs_mean[0],psnrs_mean[0]],"b-",label="new (auto)")
After 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
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: richzhang/colorization-pytorch
Commit Name: 1215d2390c0ef900337366e7a89e8d21e4bfd592
Time: 2018-08-25
Author: rzhang88@gmail.com
File Name: test_sweep.py
Class Name:
Method Name:
Project Name: librosa/librosa
Commit Name: 56558bb8677722f883ec526ffa54da686afb788e
Time: 2015-01-29
Author: brian.mcfee@nyu.edu
File Name: tests/test_core.py
Class Name:
Method Name: test_resample
Project Name: erikbern/ann-benchmarks
Commit Name: be3c3b145f9c25d5629a96d616040ff652522a87
Time: 2017-05-11
Author: alef@itu.dk
File Name: plot.py
Class Name:
Method Name: