RandomVerticalFlip does not work

When I use the following data augmention,

torchvision.transforms.RandomVerticalFlip

I got the following error :

AttributeError: ‘module’ object has no attribute ‘RandomVerticalFlip’

I have most recent torch and torchvision installed with pip.

RandomVerticalFlip is implemented after the release of 0.2.0. So it is only in current master if you want to build from source yourself :slight_smile: .

0.2.0 doc: http://pytorch.org/docs/0.2.0/torchvision/transforms.html