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
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
num_points_hack[0] = .4
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: astroML/astroML
Commit Name: d1f932a01a3a2d73167dea9be55ffae747d1b66b
Time: 2018-11-30
Author: bsipocz@gmail.com
File Name: astroML/stats/tests/test_stats.py
Class Name:
Method Name: test_mean_sigma
Project Name: sigopt/sigopt-sklearn
Commit Name: cbf03e219e1cb25ed9330d93e7f106dbc0bf6197
Time: 2019-01-28
Author: oliviakim321@gmail.com
File Name: sigopt_sklearn/search.py
Class Name: SigOptSearchCV
Method Name: _fit