An exception occurred in the data module of tensorflow, precisely because of an exception in its Datasets module. You can try model.fit(x_train, y_train,...) while training. This issue has been kept until recently, and it still exists in Tensorflow v2.9.2.