首页 > 解决方案 > Saving a tf tensor with multiple images as a single file

问题描述

Open question, any suggestions welcome:

Let's say i have a typical tensorflow tensor in the shape [n,h,w,c], made of n images.

Is there any way to save it as a single file? (some binary tf-kind of file) I'm trying to replace having n images in my computer for a single file and haven't found any reliable way to do it, other than saving it as a numpy array in npy format.

标签: tensorflow

解决方案


推荐阅读