Closed xiuwei1026 closed 1 year ago
It seems like a tensorflow version issue.
Same problem here with :
tensorflow-2.2.0 (defaults/linux-64)
tensorflow-base-2.2.0 (defaults/linux-64)
tensorflow-estimator-2.2.0 (defaults/noarch)
tensorflow-gpu-2.2.0 (defaults/linux-64)
keras-2.4.3 (defaults/noarch)
keras-base-2.4.3 (defaults/noarch)
I did not have the issue with tensorflow-1.1.10
. Neither did I with tensorflow-gpu==1.15
.
you need download 2.1.2 version keras
I had the same issue I used Keras version 2.1.2 tensorflow version 1.15.0 and python 3.7.11. This solved the issue.
Thanks for raising the issue. As @ogegulec said, this is because of using newer versions of Keras. I have updated the requirements.txt
and added installation notes to the README. Following those instructions should resolve this.
When I run below command, got a error message. Any idea to fix it? Thanks.
python -um mimic3models.length_of_stay.main --network mimic3models/keras_models/lstm.py --dim 64 --timestep 1.0 --depth 1 --dropout 0.3 --mode train --batch_size 8 --partition custom --output_dir mimic3models/length_of_stay