31bfc7c1ce9dac771dbd5e2edf2d5e789d8b1aaa,evaluate.py,,from_pipe,#,18

Before Change


                        pipe_out.terminate()
                        pipe_in.terminate()
                        del pipe_in
                        del pipe_out
                        raise IOError(error)
        pipe_out.stdin.close()
        pipe_in.stdout.close()
        pipe_out.terminate()

After Change



                if len(raw_image) != nbytes:
                    last = True
                    X = X[:count]
                    batch_shape = (count, height, width, 3)
                    img_placeholder = tf.placeholder(tf.float32, shape=batch_shape,
                                                     name="img_placeholder")
                    preds = transform.net(img_placeholder)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: lengstrom/fast-style-transfer
Commit Name: 31bfc7c1ce9dac771dbd5e2edf2d5e789d8b1aaa
Time: 2016-12-23
Author: jonathan.e.m.bocker@gmail.com
File Name: evaluate.py
Class Name:
Method Name: from_pipe


Project Name: nilmtk/nilmtk
Commit Name: 7c3220531e9f788bbd12bda1f45a91d27a687452
Time: 2014-01-17
Author: jack-list@xlk.org.uk
File Name: scripts/plots_for_e_energy_2014/top_k_appliances_comparison.py
Class Name:
Method Name:


Project Name: ellisdg/3DUnetCNN
Commit Name: 7193e19838da4c566c9724ded7a8c37ed7f4fc68
Time: 2017-04-03
Author: david.ellis@unmc.edu
File Name: DataGenerator.py
Class Name:
Method Name: data_generator


Project Name: BVLC/caffe
Commit Name: 5d584c27f062e9557aa920af6758b995f4094ed9
Time: 2014-05-16
Author: shelhamer@imaginarynumber.net
File Name: python/caffe/pycaffe.py
Class Name:
Method Name: _Net_forward_all