【问题标题】:`x` (images tensor) and `y` (labels) should have the same length`x`(图像张量)和`y`(标签)应该具有相同的长度
【发布时间】:2022-06-15 15:36:45
【问题描述】:
print(x_train.shape)
    print(y_train.shape)
    print(type(x_train.shape))
    print(type(y_train.shape))
 

rest of the code

输出 (86016, 8, 8, 1) (21, 2)

【问题讨论】:

  • 什么不起作用?请描述您的问题以及您想要实现的目标。

标签: python tensorflow tf.keras imagedatagenerator


猜你喜欢
  • 2021-12-07
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-12-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多