1cc19c989ca609584119a1973845e72598d754d4,test_sweep.py,,,#,24

Before Change



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)")
plt.plot(num_points_hack,old_mean,"ro-",label="siggraph17")
plt.plot(num_points_hack,old_mean+old_std,"r--")
plt.plot(num_points_hack,old_mean-old_std,"r--")

After Change


    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

    import matplotlib.pyplot as plt

    plt.plot(num_points_hack,psnrs_mean,"bo-",label=str_now)
    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,old_mean,"ro-",label="siggraph17")
    plt.plot(num_points_hack,old_mean+old_std,"r--")
    plt.plot(num_points_hack,old_mean-old_std,"r--")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: richzhang/colorization-pytorch
Commit Name: 1cc19c989ca609584119a1973845e72598d754d4
Time: 2018-09-03
Author: rzhang88@gmail.com
File Name: test_sweep.py
Class Name:
Method Name:


Project Name: richzhang/colorization-pytorch
Commit Name: 1cc19c989ca609584119a1973845e72598d754d4
Time: 2018-09-03
Author: rzhang88@gmail.com
File Name: test_sweep.py
Class Name:
Method Name: