-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Low
-
Resolution: Fixed
-
Affects Version/s: 6.20/02
-
Component/s: TMVA
-
Labels:None
-
Environment:
linux CentOS 7
python3
-
Development:
in tmva/pymva/src/MethodPyKeras.cxx when run with python3
Output:
Epoch 00005: val_loss improved from 0.62125 to 0.60703, saving model to dataset/weights/TrainedModel_PyKeras.h5
Getting his:0
<WARNING> : Failed to run python code: copy_string=history.history.keys()[0]
<WARNING> : Python error message:
Traceback (most recent call last):
{{ File "<string>", line 1, in <module>}}
TypeError: 'dict_keys' object does not support indexing
<FATAL> : Failed to run python code
***> abort program execution
In python3 'dict_keys' object does not support indexing (it is not a list), could be corrected by replacing history.history.keys()[%d] in line tmva/pymva/src/MethodPyKeras.cxx: line 471 with list(history.history)[%d]