5d9dbd3cce974dd7652b515dcbd58969ccbf4592,shared/data_loader.py,,labelled_image_tensors_from_directory,#Any#Any#Any#Any#Any#Any#Any#,12
Before Change
//img = tf.zeros([64,64,3])
reshaped_image = tf.cast(img, tf.float32)
tf.Tensor.set_shape(img, [None, None, None])
print("img", img)
label = input_queue[1]
// Image processing for evaluation.
// Crop the central [height, width] of the image.
After Change
// Read examples from files in the filename queue.
value = tf.read_file(input_queue[0])
preprocess = tf.read_file(input_queue[0]+".preprocess")
features = tf.decode_raw(preprocess, tf.float32)
tf.Tensor.set_shape(features, [2048])
if(format == "jpg"):
img = tf.image.decode_jpeg(value, channels=channels)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: HyperGAN/HyperGAN
Commit Name: 5d9dbd3cce974dd7652b515dcbd58969ccbf4592
Time: 2016-07-12
Author: martyn@255bits.com
File Name: shared/data_loader.py
Class Name:
Method Name: labelled_image_tensors_from_directory
Project Name: RasaHQ/rasa
Commit Name: dc08464102e571d2cf4265319ed37319ada12bb6
Time: 2018-09-28
Author: tom@rasa.com
File Name: tests/test_dialogues.py
Class Name:
Method Name: test_dialogue_serialisation
Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: 3e2ac59ff4fc48a9eef1d348bc0022bd5e97a0fb
Time: 2018-01-02
Author: max.lapan@gmail.com
File Name: ch12/tools/sub_reader.py
Class Name:
Method Name: