ECG-Arrhythmia-classification
ECG-Arrhythmia-classification copied to clipboard
AttributeError: 'list' object has no attribute 'items'
I followed the tutorial,
- clone ECG-Arrhythmia-classification-master
- clone keras-flask-deploy-webapp-master
- replace the app.py and index.html
- download the weights(model):ecgScratchEpoch2.hdf5
- modify the path in app.py: model = load_model('/Users/happysheep224/Documents/python/ECG_PY/ECG-Arrhythmia-classification-master/ecgScratchEpoch2.hdf5'); csv = pd.read_csv('/Users/happysheep224/Documents/python/ECG_PY/ECG-Arrhythmia-classification-master/sample.csv')
- run the script
the terminal show like this:
(ecg) bogon:keras-flask-deploy-webapp-master happysheep224$ python app.py
Using TensorFlow backend.
Traceback (most recent call last):
File "app.py", line 31, in
@ankur219
I got past this by downgrading keras to 2.3.1.
I got past this by downgrading keras to 2.3.1.
thank you!
No worries.