1
TensorFlowの例のCifar10の例では、クロッピング、フリッピング、ブライトネス、コントラスト、ホワイトニングのランダムな組み合わせで画像が歪んでいます。このコンセプトは、切り抜きが私にとってちょっと奇妙なことを除いて意味があります。イメージは、ネットワークのために同じ寸法である必要がありますし、トリミングコードは次のようになります。高さと幅は、画像サイズが、これは実際には何をやっているに基づいているのでTensorFlow - Cifar10の例でrandom_cropとは何ですか?
height = IMAGE_SIZE
width = IMAGE_SIZE
# Image processing for training the network. Note the many random
# distortions applied to the image.
# Randomly crop a [height, width] section of the image.
distorted_image = tf.random_crop(reshaped_image, [height, width, 3])
?
であることに注意してください。 –
@bradden_gross助けてくれるのはうれしい! –