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

Before Change


                                             "the following error while writing file:"
                                             "\n\n %s" % ffmpeg_error))
                        pipe_out.stdin.close()
                        pipe_in.stdout.close()
                        pipe_out.terminate()
                        pipe_in.terminate()
                        del pipe_in
                        del pipe_out

After Change


                    read_input = False
                _preds = sess.run(preds, feed_dict={img_placeholder: X})

                for i in range(0, batch_shape[0]):
                    img = np.clip(_preds[i], 0, 255).astype(np.uint8)
                    try:
                        pipe_out.stdin.write(img)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

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: akkana/scripts
Commit Name: e3d5f18c78b9face3f08cba10df6f6afcc33a6bc
Time: 2019-02-12
Author: akkana@shallowsky.com
File Name: grebook.py
Class Name:
Method Name: grep_ebook


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: