【问题标题】:how can i reduce memory consumption during prediction with tensorflow?如何在使用 tensorflow 进行预测时减少内存消耗?
【发布时间】:2020-11-04 14:06:33
【问题描述】:

我已经使用 tensorflow 训练了一个 SRGAN 模型。但是在预测过程中,该模型需要大量内存(RAM),专门用于较大的图像。如何减少预测期间消耗的内存?

【问题讨论】:

    标签: tensorflow memory-management


    【解决方案1】:

    尝试将图像分成块,处理然后合并。

    【讨论】:

      猜你喜欢
      • 2016-07-11
      • 2023-03-18
      • 1970-01-01
      • 2015-05-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多