Skip to content

Commit

Permalink
Merge branch 'master' of github.com:thulab/DeepHash
Browse files Browse the repository at this point in the history
  • Loading branch information
bl0 committed Nov 24, 2019
2 parents 6f75320 + 0491eba commit 9907613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DeepHash/architecture/__init__.py
Expand Up @@ -47,7 +47,7 @@ def distort_fliped(x, y): return distort(
distorted = tf.cond(stage > 0, val_fn, train_fn)

# Zero-mean input
mean = tf.constant([103.939, 116.779, 123.68], dtype=tf.float32, shape=[
mean = tf.constant([123.68, 116.779, 103.939], dtype=tf.float32, shape=[
1, 1, 1, 3], name='img-mean')
distorted = distorted - mean

Expand Down

0 comments on commit 9907613

Please sign in to comment.