tensorflow - 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.
解决方案
推荐阅读
- laravel - 条纹错误:没有这样的 PaymentMethod:'pm_xxx'
- ios - 为什么 UICollectionViewDiffableDataSource 在没有任何变化的情况下重新加载每个单元格?
- photo - tumblr 博客上的照片集格式不正确
- python - 如何在两列列表中获取唯一的电子邮件,其中值可以有两个(或更多!)单独的值
- javascript - 使用滚动导航插件滚动错误
- arrays - C 编程 - 使用并行数组输入名称、练习标记和计算练习标记的平均值并显示
- c - 我无法理解 fgetc 的核心转储原因,我该如何解决?
- php - 弹出的进程永不消亡
- javascript - Promise 链接未处理的 Promise
- javascript - 在 ASP 页面中使用带有 Jquery 的 JS 函数