coxlab / prednet

Code and models accompanying "Deep Predictive Coding Networks for Video Prediction and Unsupervised Learning"
https://arxiv.org/abs/1605.08104
MIT License
759 stars 259 forks source link

Fix invalid access of Keras backend #83

Open craymichael opened 3 years ago

craymichael commented 3 years ago

Replace access to Keras backend from K._BACKEND to K.backend(). Fixes https://github.com/coxlab/prednet/issues/82