While running a sentdex tutorial script of a cryptocurrency RNN, link here
YouTube Tutorial: Cryptocurrency-predicting RNN Model,
but have encountered an err
I had a similar problem. In my case it was a problem that I was using a tf.keras.Sequential model but a keras generator.
tf.keras.Sequential
keras
Wrong:
from keras.preprocessing.sequence import TimeseriesGenerator gen = TimeseriesGenerator(...)
Correct:
gen = tf.keras.preprocessing.sequence.TimeseriesGenerator(...)