Skip to content

stanfordmlgroup/mobius

Repository files navigation

Mobius

Official repository for the paper Data augmentation with Mobius transformations by Sharon Zhou, Jiequan Zhang, Hang Jiang, Torbjörn Lundh, and Andrew Ng.

Mobius Demo

Apply Mobius transformations to your images!

Examples

Original Images:

Outputs:

Change the filename in Mobius_demo.ipynb and you will be able to apply Mobius transformations to your own images! :)

Mobius Data Augmentation

Navigate to mobius_data_augmentation. Make sure you have downloaded the respective datasets to their folders specified in train.py. Feel free to experiment with different parameters.

Experimental settings in the paper (to be run in the mobius_data_augmentation folder):

Mobius

python train.py --data_augmentation mix3 --name mobius

Mobius + Cutout

python train.py --data_augmentation mix3 --cutout --name mobius-and-cutout

Cutout

python train.py --data_augmentation regular --cutout --name cutout

Crop-and-flip

python train.py --data_augmentation regular --name crop-and-flip

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published