basicprop-0.5.2
توضیحات
A synthetic dataset used for generative models
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | basicprop-0.5.2 |
| نام | basicprop |
| نسخه کتابخانه | 0.5.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Andrew Drozdov |
| ایمیل نویسنده | andrew@mrdrozdov.com |
| آدرس صفحه اصلی | https://github.com/mrdrozdov/basicprop |
| آدرس اینترنتی | https://pypi.org/project/basicprop/ |
| مجوز | UNKNOWN |
# 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
نحوه نصب
نصب پکیج whl basicprop-0.5.2:
pip install basicprop-0.5.2.whl
نصب پکیج tar.gz basicprop-0.5.2:
pip install basicprop-0.5.2.tar.gz