Hi Titu!
First of all many thanks for sharing RNN for TSC. It's very useful!
I'm using Tensorflow 2.2.0 and built-in Keras, so slightly change the code (for example, using 'from tensorflow.keras.models import Model' instead of 'from keras.models import Model')
When i'm trying to run all_datasets_training.py, I've got next error in keras_utils.py (both Windows and Linux):
Exception has occurred: ValueError
The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
It occurs in train_model function within row:
model.fit(X_train, y_train, batch_size=batch_size, epochs=epochs, callbacks=callback_list,
class_weight=class_weight, verbose=2, validation_data=(X_test, y_test))
The shape of input data (GunPoint):
X_train [50, 1 , 150]
X_test [150, 1, 150]
What am I do wrong?

Hi Titu!
First of all many thanks for sharing RNN for TSC. It's very useful!
I'm using Tensorflow 2.2.0 and built-in Keras, so slightly change the code (for example, using 'from tensorflow.keras.models import Model' instead of 'from keras.models import Model')
When i'm trying to run all_datasets_training.py, I've got next error in keras_utils.py (both Windows and Linux):
Exception has occurred: ValueError
The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
It occurs in train_model function within row:
model.fit(X_train, y_train, batch_size=batch_size, epochs=epochs, callbacks=callback_list,
class_weight=class_weight, verbose=2, validation_data=(X_test, y_test))
The shape of input data (GunPoint):
X_train [50, 1 , 150]
X_test [150, 1, 150]
What am I do wrong?
