|
|
@ -424,7 +424,7 @@ class Train (GNet):
|
|
|
|
dataset = tf.data.Dataset.from_tensor_slices(features_placeholder)
|
|
|
|
dataset = tf.data.Dataset.from_tensor_slices(features_placeholder)
|
|
|
|
# labels_placeholder = None
|
|
|
|
# labels_placeholder = None
|
|
|
|
dataset = dataset.repeat(10000)
|
|
|
|
dataset = dataset.repeat(10000)
|
|
|
|
print ([' ******* ',self.BATCHSIZE_PER_GPU])
|
|
|
|
|
|
|
|
dataset = dataset.batch(batch_size=self.BATCHSIZE_PER_GPU)
|
|
|
|
dataset = dataset.batch(batch_size=self.BATCHSIZE_PER_GPU)
|
|
|
|
dataset = dataset.prefetch(1)
|
|
|
|
dataset = dataset.prefetch(1)
|
|
|
|
# iterator = dataset.make_initializable_iterator()
|
|
|
|
# iterator = dataset.make_initializable_iterator()
|
|
|
|