how define label in tf.data.Dataset.from_tensor_slices()?

后端 未结 0 829
-上瘾入骨i
-上瘾入骨i 2021-01-30 06:44

my dataset is an image dataset, with two classes cat and dog,If I write :

train = tf.data.Dataset.from_tensor_slices()

How I can extract labels k

相关标签:
回答
  • 消灭零回复
提交回复
热议问题