ec151176c159d79f733ab1255f299dfddfcf801b,tf_unet/util.py,,plot_prediction,#Any#Any#Any#Any#,15

Before Change


            ax[i, 0].set_title("x")
            ax[i, 1].set_title("y")
            ax[i, 2].set_title("pred 0")
            ax[i, 3].set_title("pred 1")
    fig.tight_layout()
    
    if save:

After Change


        plt.colorbar(cax, ax=ax[i,1])
        pred = prediction[i, ..., 1]
        pred -= np.amin(pred)
        pred /= np.amax(pred)
        cax = ax[i, 2].imshow(pred)
        plt.colorbar(cax, ax=ax[i,2])
        if i==0:
            ax[i, 0].set_title("x")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: jakeret/tf_unet
Commit Name: ec151176c159d79f733ab1255f299dfddfcf801b
Time: 2016-08-12
Author: jakeret@phys.ethz.ch
File Name: tf_unet/util.py
Class Name:
Method Name: plot_prediction


Project Name: tyarkoni/pliers
Commit Name: a98d7803a308b9fc6b76cd89d50f1d64425f8ae6
Time: 2015-11-19
Author: quinten.mcnamara@gmail.com
File Name: featurex/extractors/image.py
Class Name: BrightnessExtractor
Method Name: apply


Project Name: AllenCellModeling/pytorch_fnet
Commit Name: ec6ecb77873a602b815008d54b1fbdc56f154b8f
Time: 2017-06-14
Author: chek.o@outlook.com
File Name: gen_util.py
Class Name:
Method Name: main