547d4580c776afa5782a08fc5288526da82a0972,utils.py,,encode,#,75

Before Change


            while(flat[i]):
                i += 1
            e = i-1
            if(s != e):
                enc.append(s)
                enc.append(e - s + 1)
        i += 1

    return enc

After Change


            enc.append(e - s + 1)
        i += 1

    plt.imshow(decode(enc))
    plt.show()
    return enc

def decode(list):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: milesial/Pytorch-UNet
Commit Name: 547d4580c776afa5782a08fc5288526da82a0972
Time: 2017-09-26
Author: milesial@users.noreply.github.com
File Name: utils.py
Class Name:
Method Name: encode


Project Name: AlexEMG/DeepLabCut
Commit Name: c98f0d308636be5c4feaea4a35e77c2d974aa710
Time: 2020-08-03
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/pose_estimation_tensorflow/visualizemaps.py
Class Name:
Method Name: visualize_scoremaps


Project Name: kundajelab/dragonn
Commit Name: 2e19f878707e04da7d9a4ccbe0cceb515b433124
Time: 2019-04-30
Author: annashcherbina@gmail.com
File Name: dragonn/vis/__init__.py
Class Name:
Method Name: plot_ism