如何输入窗口大小为160和stride=1的输入。train_gen = tf.keras.preprocessing.sequence.TimeseriesGenerator(X_train, Y_traingenerator data and label:", data.shape, label.shape)
对于LSTM,我使用“输入”作为输入形状
在运行加密货币RNN的sentdex教程脚本时,请在此处链接但是在试图训练模型时遇到了一个错误。我的tensorflow版本为2.0.0,我正在运行python3.6。当试图训练模型时,我会收到以下错误:
File "C:\python36-64\lib\site-packages\tensorflow_core\python\keras\engine\training.py\python\keras\engine\training_v2.py", line 2