chen0040 / keras-anomaly-detection

Anomaly detection implemented in Keras
MIT License
370 stars 157 forks source link

Error when set DO_TRAINING = True #3

Open cssaheel opened 6 years ago

cssaheel commented 6 years ago

Hello,

I am playing with conv1d_autoencoder.py, and when I set DO_TRAINING = True, I get the following error:

Traceback (most recent call last): File "conv1d_autoencoder.py", line 74, in main() File "conv1d_autoencoder.py", line 49, in main epochs=epochs) File "/Desktop/tests/keras-anomaly-detection-master/demo/credit_card_demo/keras_anomaly_detection/library/convolutional.py", line 80, in fit self.threshold = scores[cut_point] IndexError: index 128 is out of bounds for axis 0 with size 128

Thanks!