31bfc7c1ce9dac771dbd5e2edf2d5e789d8b1aaa,evaluate.py,,from_pipe,#,18
Before Change
pipe_in.stdout.close()
pipe_out.terminate()
pipe_in.terminate()
del pipe_in
del pipe_out
raise IOError(error)
pipe_out.stdin.close()
pipe_in.stdout.close()
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)
break
image = numpy.fromstring(raw_image, dtype="uint8")
image = image.reshape((height, width, 3))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
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: comic/grand-challenge.org
Commit Name: 4d9d2a1fc4e0d9289000a235340235802d51a97a
Time: 2021-02-12
Author: 57257130+MikeOverkamp-diag@users.noreply.github.com
File Name: app/grandchallenge/cases/image_builders/dicom.py
Class Name:
Method Name: _create_itk_from_dcm
Project Name: GPflow/GPflow
Commit Name: a49c1a33600437a2b1b0cbba79597bee2177bda3
Time: 2019-09-11
Author: art.art.v@gmail.com
File Name: gpflow/models/gplvm.py
Class Name: GPLVM
Method Name: __init__