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

AttributeError: module 'keras.backend' has no attribute '_BACKEND' #82

Open wtl2282473163 opened 3 years ago

wtl2282473163 commented 3 years ago

When running kitti_evalulate.py, there is an error followed by this: if K._BACKEND == 'theano': AttributeError: module 'keras.backend' has no attribute '_BACKEND' . How can I fix this?

craymichael commented 3 years ago

Replace K._BACKEND with K.backend() in prednet.py and you should be good