added links to converted weights

added current result images
This commit is contained in:
Julian Tatsch
2017-08-18 09:11:11 +02:00
parent 1d60dab2a6
commit 96fa3b21b7
9 changed files with 82 additions and 47 deletions
+3 -2
View File
@@ -32,8 +32,9 @@ def print_activation(model, layer_name, data):
intermediate_layer_model = Model(inputs=model.input,
outputs=model.get_layer(layer_name).output)
io = intermediate_layer_model.predict(data)
print (layer_name, array_to_str(io))
print(layer_name, array_to_str(io))
def array_to_str(a):
return "{} {} {} {} {}".format(a.dtype, a.shape, np.min(a), np.max(a), np.mean(a))
return "{} {} {} {} {}".format(a.dtype, a.shape, np.min(a),
np.max(a), np.mean(a))