Various errors encountered after running preprocess.py...
One of them:
In [17]: history = model.fit(x_train_norm.reshape(-1, 480, 640, 1), y_train.reshape((-1, 1)), epochs=10, validation_data=(x_test_norm, y_test))
Epoch 1/10
Traceback (most recent call last):
Cell In[17], line 1
history = model.fit(x_train_norm.reshape(-1, 480, 640, 1), y_train.reshape((-1, 1)), epochs=10, validation_data=(x_test_norm, y_test))
File ~\AppData\Local\Programs\Python\Python312\Lib\site-packages\keras\src\utils\traceback_utils.py:122 in error_handler
raise e.with_traceback(filtered_tb) from None
File ~\AppData\Local\Programs\Python\Python312\Lib\site-packages\keras\src\backend\tensorflow\trainer.py:117 in one_step_on_iterator
outputs = self.distribute_strategy.run(
ValueError: Creating variables on a non-first call to a function decorated with tf.function.
Various errors encountered after running preprocess.py... One of them: