Commit 0797a429 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

colored weights, hardcoded dimensions

parent 7a9d4e6e
...@@ -1577,6 +1577,7 @@ with tf.Session() as sess: ...@@ -1577,6 +1577,7 @@ with tf.Session() as sess:
#l2 = NN_LAYOUT2.index(next(filter(lambda x: x!=0, NN_LAYOUT2))) #l2 = NN_LAYOUT2.index(next(filter(lambda x: x!=0, NN_LAYOUT2)))
with tf.variable_scope('g_fc_inter'+str(l2),reuse=tf.AUTO_REUSE): with tf.variable_scope('g_fc_inter'+str(l2),reuse=tf.AUTO_REUSE):
w = tf.get_variable('weights',shape=[400,NN_LAYOUT2[l2]]) w = tf.get_variable('weights',shape=[400,NN_LAYOUT2[l2]])
w = tf.transpose(w,(1,0)) w = tf.transpose(w,(1,0))
img2 = npw.tiles(npw.coldmap(w.eval(),zero_span=0.0002),(5,5,4,4),tiles_per_line=4,borders=True) img2 = npw.tiles(npw.coldmap(w.eval(),zero_span=0.0002),(5,5,4,4),tiles_per_line=4,borders=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment