Skip to content

Instantly share code, notes, and snippets.

@nogawanogawa
Created May 1, 2018 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nogawanogawa/f325be5a7f2d44ce49e5f03f73534ad2 to your computer and use it in GitHub Desktop.
Save nogawanogawa/f325be5a7f2d44ce49e5f03f73534ad2 to your computer and use it in GitHub Desktop.
# 読み込み
def read(filename):
img = tf.read_file(filename)
return tf.image.decode_png(img, channels=3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment