1215d2390c0ef900337366e7a89e8d21e4bfd592,test_sweep.py,,,#,23

Before Change


num_points_hack[0] = .4

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)

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
Italian Trulli
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: nipy/dipy
Commit Name: 7c876f0c967dca643dc6f61bf5d147274a150d66
Time: 2017-10-13
Author: arokem@gmail.com
File Name: tools/make_examples.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: 84941cb6eef46604b9938d0b653f5109da340493
Time: 2014-12-18
Author: loic.esteve@ymail.com
File Name: examples/manipulating_visualizing/plot_roi_extraction.py
Class Name:
Method Name: