Commit 6b974123 authored by vincentvigon's avatar vincentvigon
Browse files

3 premier chap de 'alea'

parent a005fb67
Pipeline #2564 failed with stage
in 2 minutes and 59 seconds
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -41,7 +41,6 @@ def step0():
_hat_Y_proba = Hat_TwoConvLayers_28(freezeConv=True)(_X)
_loss = - tf.reduce_mean(_Y_proba*tf.log(_hat_Y_proba+1e-10))
_hat_Y = tf.cast(tf.argmax(_hat_Y_proba, axis=1),tf.int32)
_accuracy = tf.reduce_mean(tf.cast(tf.equal(_hat_Y, _Y), tf.float32))
......@@ -59,7 +58,6 @@ def step0():
(x_valid, y_valid)=(x_valid[:100,:,:,np.newaxis],y_valid[:100])
with tf.Session() as sess:
sess.run(tf.global_variables_initializer())
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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