tensorflow 2.4.1When using data tensors as input to a model, you should specify the steps_per_epoch
版本:tensorflow 2.4.1,cuda 11.0,cudnn 8.0.4问题:在不改变环境的情况下,突然就出现了valueError: When using data tensors as input to a model, you should specify the steps_per_epoch argument.临时解决办法:因为写完steps_per_epoch之后又报错out of range,在并不是特别了解这里机制的情况下,不要把数据类型转为tf.float32之类的t