tensorlayer / chinese-book

《深度学习:一起玩转TensorLayer》资源分享、讨论
139 stars 47 forks source link

ch3.6 p77 line 84 module 'tensorlayer.visualize' has no attribute 'W' #14

Closed arisliang closed 6 years ago

arisliang commented 6 years ago

可视化第一层W错误时运行错误,没有tf.visualize.W这个函数? Error: tl.visualize.W(network.all_params[0].eval(), second=10, saveable=True, shape=[28, 28], AttributeError: module 'tensorlayer.visualize' has no attribute 'W'

zsdonghao commented 6 years ago

W be changed to draw_weights in the latest version of TL