Skip to main content

A synthetic dataset used for generative models

Project description

# Basicprop (Synthetic Dataset)

## Instructions

There are the following datasets:

1. Line (10 classes)
2. Rects (100 classes)

Each dataset has the same API:

- get_image(y) -> returns an image of class y.
- get_batch(batch_size) -> returns a batch of images with random classes.

Here is an example:

from basicprop.datasets import Line, Rects

line = Line()
rects = Rects()

line_images = [line.get_image(y) for y in range(10)]
rects_images = [rects.get_image(y) for y in range(100)]

## License


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 basicprop, version 0.5.2
Filename, size File type Python version Upload date Hashes
Filename, size basicprop-0.5.2.tar.gz (2.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