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
MIT
## 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
MIT
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
basicprop-0.5.2.tar.gz
(2.4 kB
view details)
File details
Details for the file basicprop-0.5.2.tar.gz
.
File metadata
- Download URL: basicprop-0.5.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e1322d437e2eb65e232461009a4404346cb1bf3cc6054dc82d1e48ec0798b8d |
|
MD5 | 8d99936f0c698943dd233189d48cf3c6 |
|
BLAKE2b-256 | 7cecfc0c0278345c17fcb354cda6cf727a8e9bf610bb0e46ca8e54bf40570889 |