【发布时间】:2020-10-02 01:49:28
【问题描述】:
我有两个分别包含 image and label 数据的 numpy 变量。有500 labeled image,每个image is 240 x 240.的形状
import numpy as np
images = np.random.randint(4, size=(500,240,240))
labels = np.random.rand(500,240,240)
如何使用 Keras 生成器进行模型训练?提前感谢您的帮助。
【问题讨论】:
标签: python python-3.x tensorflow keras