Skip to content

Commit

Permalink
Merge pull request #1145 from dataabc:dataabc-patch-2
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 278445821
  • Loading branch information
copybara-github committed Nov 4, 2019
2 parents 7a7e334 + b14f20c commit 683688b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/zh-cn/tutorials/images/segmentation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
},
"source": [
"def normalize(input_image, input_mask):\n",
" input_image = tf.cast(input_image, tf.float32)/128.0 - 1\n",
" input_image = tf.cast(input_image, tf.float32)/255.0\n",
" input_mask -= 1\n",
" return input_image, input_mask"
],
Expand Down Expand Up @@ -705,4 +705,4 @@
]
}
]
}
}

0 comments on commit 683688b

Please sign in to comment.