Skip to main content

No project description provided

Project description


Unofficial PyTorch Reimplementation of AutoAugment and RandAugment.

Code taken from and

How to install:

pip install randaugment

How to use:

from autoaugment import RandAugment, ImageNetPolicy
data = ImageFolder(rootdir, transform=transforms.Compose(
                            transforms.RandomCrop(32, padding=4, fill=128), # fill parameter needs torchvision installed from source
                            Cutout(size=16), # (
loader = DataLoader(data, ...)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for randaugment, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size randaugment-1.0.2-py3-none-any.whl (6.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size randaugment-1.0.2.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page