codekansas / codekansas.github.io

:computer: Personal blog
https://ben.bolte.cc/
MIT License
3 stars 1 forks source link

Small error correction in your code #1

Closed tscheepers closed 3 years ago

tscheepers commented 7 years ago

If you have installed Keras with a Tensorflow backend you should probably call: K.get_value(predict_green.layers[1].W) instead of predict_green.layers[1].W.get_value().