patrickBue123
patrickBue123

Reputation: 53

Horizontal flipping of images in Python

The BrainScript image reader supports horizontal flipping of training images. Is this also supported in Python? I did not see anything about it. Thx! https://github.com/Microsoft/CNTK/wiki/BrainScript-Image-reader

Upvotes: 1

Views: 86

Answers (1)

Emad Barsoum
Emad Barsoum

Reputation: 476

Using CropType::RandomSize or RandomArea will set hFlip to true.

m_hFlip = (m_cropType == CropType::RandomSide || m_cropType == CropType::RandomArea);

Upvotes: 1

Related Questions