-
-
Save FangliangBai/09a1cf839f1ae0f2d83a7236a1167579 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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