Skip to content

Instantly share code, notes, and snippets.

@FangliangBai
Last active April 4, 2018 21:22
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 FangliangBai/09a1cf839f1ae0f2d83a7236a1167579 to your computer and use it in GitHub Desktop.
Save FangliangBai/09a1cf839f1ae0f2d83a7236a1167579 to your computer and use it in GitHub Desktop.
filename = os.path.join(data_dir, trainfilename)
row_img = []
with open(filename) as fid:
content = fid.read()
content = content.split('\n')
content = content[:-1]
for i in content:
img = skimage.io.imread(fname, as_grey=False, plugin=None, flatten=None, **plugin_args)
row_img.append(img)
https://blog.csdn.net/zengxyuyu/article/details/53289906
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment