TensorFlow 面试题与答案
Question: Explain the concept of data augmentation in image classification using TensorFlow.Answer: Data augmentation involves applying random transformations to input data during training to increase the diversity of the dataset. In image classification, this can include rotations, flips, and zooms.Example: data_augmentation = tf.keras.Sequential([ tf.keras.layers.experimental.preprocessing.RandomFlip('horizontal'), tf.keras.layers.experimental.preprocessing.RandomRotation(0.2), ]) |
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
这有帮助吗? 是 否
用户评价最有帮助的内容: