(image_size)
return tf.concat(
      [load_image(path, image_size) for path in evaluation_images], 0)
Loads images for evaluation.

  Args:
    image_size: int. Image size.

  Returns:
    Tensor. A batch of evaluation images.

  Raises:
    IOError: If no evaluation images can be found.
Loads images for evaluation.
Loads images for evaluation .
def load_evaluation_images(image_size):
  """Loads images for evaluation.

  Args:
    image_size: int. Image size.

  Returns:
    Tensor. A batch of evaluation images.

  Raises:
    IOError: If no evaluation images can be found.
  """
  glob = os.path.join(tf.resource_loader.get_data_files_path(),
                      _EVALUATION_IMAGES_GLOB)
  evaluation_images = tf.gfile.Glob(glob)
  if not evaluation_images:
    raise IOError('No evaluation images found')
  return tf.concat(
      [load_image(path, image_size) for path in evaluation_images], 0)
def load_evaluation_images ( image_size ) : glob = os . path . join ( tf . resource_loader . get_data_files_path ( ) , _EVALUATION_IMAGES_GLOB ) evaluation_images = tf . gfile . Glob ( glob ) if not evaluation_images : raise IOError ( 'No evaluation images found' ) return tf . concat ( [ load_image ( path , image_size ) for path in evaluation_images ] , 0 )