【发布时间】:2020-12-13 16:07:44
【问题描述】:
我正在尝试在我的 keras 模型中加入图像规范化,以便在 Google 的云 TPU 上运行。因此,我在代码中插入了一行:
with strategy.scope():
input_shape=(128,128,3)
image_0 = Input(shape=input_shape)
**image_1 = tf.image.per_image_standardization(image_0)**
...
也没有抛出错误,但根据 google tf.image.per_image_standardization 的文档 不是受支持的功能。有谁知道它是否有效,或者有没有人知道如何检查它是否有效?
【问题讨论】:
标签: tensorflow tpu data-augmentation