TensorFlow代码摘抄
data_dir = pathlib.Path("D://document//Datas//1233")
train_dataset = tf.keras.preprocessing.image_dataset_from_directory(
data_dir,
subset=None,
image_size=(img_height, img_width),
batch_size=batch_size)
data_augmentation = tf.keras.Sequential(.
原创
2022-01-15 21:09:52 ·
1034 阅读 ·
0 评论