reader.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:CycleGAN-TensorFlow 作者: vanhuyz 项目源码 文件源码
def __init__(self, tfrecords_file, image_size=256,
    min_queue_examples=1000, batch_size=1, num_threads=8, name=''):
    """
    Args:
      tfrecords_file: string, tfrecords file path
      min_queue_examples: integer, minimum number of samples to retain in the queue that provides of batches of examples
      batch_size: integer, number of images per batch
      num_threads: integer, number of preprocess threads
    """
    self.tfrecords_file = tfrecords_file
    self.image_size = image_size
    self.min_queue_examples = min_queue_examples
    self.batch_size = batch_size
    self.num_threads = num_threads
    self.reader = tf.TFRecordReader()
    self.name = name
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号