Skip to main content

State-of-the-art data augmentation search algorithms in PyTorch

Project description


MuarAugment

Description

MuarAugment is a package providing the easiest way to a state-of-the-art data augmentation pipeline.

How to use

You can install MuarAugment via PIP:

!pip install muaraugment

Example (temp: tutorials and working examples coming soon)

from muar.augmentations import BatchRandAugment, MuAugment

# muar augmentations
rand_augment = BatchRandAugment(N_TFMS=3, MAGN=4)
mu_augment = MuAugment(rand_augment, N_COMPS=4, SELECTED=2)

# model
model = LitClassifier(mu_augment)

# data
train, val, test = mnist()

# train
trainer = Trainer()
trainer.fit(model, train, val)

Tutorials

Project details


Download files

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

Source Distribution

MuarAugment-1.1.0.tar.gz (11.4 kB view hashes)

Uploaded Source

Built Distribution

MuarAugment-1.1.0-py3-none-any.whl (13.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page