"keras issue"

tolga_gunduztolga_gunduz Member Posts: 1 Contributor I
edited June 2019 in Help

Hi all,

 

I am new to Rapid miner and loving it... I installed the Keras extension successfully but when I run the samples, I get the error below. I could not find how to fix it. Can anyone help me?

 

Thanks

 

Oct 8, 2017 10:57:57 AM INFO: 4/4 [==============================] - 0s - loss: 0.3467
Oct 8, 2017 10:57:57 AM INFO: Traceback (most recent call last):
Oct 8, 2017 10:57:57 AM INFO: File "script", line 301, in rm_main
Oct 8, 2017 10:57:57 AM INFO: model_weights_to_csv(model, '/Users/tolgagunduz/weights/')
Oct 8, 2017 10:57:57 AM INFO: File "script", line 226, in model_weights_to_csv
Oct 8, 2017 10:57:57 AM INFO: if not os.path.exists(path + layer_names[math.floor(i / 2)] + '.csv'):
Oct 8, 2017 10:57:57 AM INFO:
Oct 8, 2017 10:57:57 AM INFO: TypeError: list indices must be integers, not float (script, line 226)
Oct 8, 2017 10:57:57 AM SEVERE: Process failed: The execution of the Python script failed.
Oct 8, 2017 10:57:57 AM SEVERE: Here:
Oct 8, 2017 10:57:57 AM SEVERE: Process[1] (Process)
Oct 8, 2017 10:57:57 AM SEVERE: subprocess 'Main Process'
Oct 8, 2017 10:57:57 AM SEVERE: +- Retrieve xor-data[1] (Retrieve)
Oct 8, 2017 10:57:57 AM SEVERE: +- Multiply[1] (Multiply)
Oct 8, 2017 10:57:57 AM SEVERE: +- Keras Model[1] (Keras Model)
Oct 8, 2017 10:57:57 AM SEVERE: subprocess 'Executed Process'
Oct 8, 2017 10:57:57 AM SEVERE: | +- Add Core Layer[1] (Add Core Layer)
Oct 8, 2017 10:57:57 AM SEVERE: ==> | +- Add Core Layer (2)[1] (Add Core Layer)
Oct 8, 2017 10:57:57 AM SEVERE: +- Apply Keras Model[0] (Apply Keras Model)

Answers

Sign In or Register to comment.