enijkamp / rose

Procedural dataset of flowers with k pedals using the rose curve (Guido Grandi).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rose

Procedural dataset generator of flowers with k pedals using the rose curve (Guido Grandi).

rose

PyTorch:

ds = RoseDataset(transform=transforms.Compose([
                         transforms.ToPILImage(),
                         transforms.CenterCrop(180),
                         transforms.RandomAffine(degrees=45, fillcolor=(255, 255, 255)),
                         transforms.Resize(32),
                         transforms.ToTensor(),
                         transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
                     ]))

About

Procedural dataset of flowers with k pedals using the rose curve (Guido Grandi).


Languages

Language:Python 100.0%