You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried read images directly as the input of D_basic() function. But no matter which kinds of images I read (real face, fake face ,or even boats), the outputs are always 0.00xxxx or 0.01xxxx. Has someone ever tried this? I can't figure it out.
Here's the session code:
with tf.Session(config=tf.ConfigProto(allow_soft_placement=True)) as sess:
img_placeholder1 = tf.placeholder(tf.float32, [1, 3, 1024, 1024])
img_placeholder2 = tf.placeholder(tf.float32, [1, 3, 1024, 1024])
I tried read images directly as the input of D_basic() function. But no matter which kinds of images I read (real face, fake face ,or even boats), the outputs are always 0.00xxxx or 0.01xxxx. Has someone ever tried this? I can't figure it out.
Here's the session code:
with tf.Session(config=tf.ConfigProto(allow_soft_placement=True)) as sess:
img_placeholder1 = tf.placeholder(tf.float32, [1, 3, 1024, 1024])
img_placeholder2 = tf.placeholder(tf.float32, [1, 3, 1024, 1024])
And got a result as ([0.01984515],[0.01300943]), which i think should be a value near 1.
The text was updated successfully, but these errors were encountered: