RedBrick platform python SDK!
Project description
Introduction
This is an SDK to make integrating with the RedBrick platform as easy as possible. This includes uploading and downloading data as well as making your datasets easily available for training.
Desired behaviors:
-
Upload:
- upload a folder of images to a redbrick dataset
-
download:
- download images from redbrick, save as .jpg/.png or numpy arrays
- download labels and save to specific file formats:
- Coco format
- darknet training format
-
training:
- Data in vectorized format ready to be converted to
Quickstart
After creating an account on app.redbrickai.com
pip install redbrick-sdk
import redbrick
import torchvision
# Setup Redbrick Global context
client = redbrick.client(org_id="asdasd", api_key="asdasd")
# create a prelabeler instance
prelabeler = redbrick.prelabeling(project_id="project_id", stage_name="stage_name")
# show an example image
prelabeler.show_sample()
# import a model
model = torchvision.models.detection.fasterrcnn_resnet50_fpn(pretrained=True)
model.eval()
# run inference and upload predictions to redbrick
Usage
redbrick.init()
Developing
pip install -e .[dev]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redbrick-sdk-0.0.3.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for redbrick_sdk-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6eb01ebd419c6d3bbfe0def08b7f9bf7fe71bae65a06246e8e8b9fb7b0702d2 |
|
MD5 | 62562d8f7ddcad79a9293d997f87352d |
|
BLAKE2b-256 | 6dd68c4e8efe1a4ca5e5d168d1497d97f445bf81a710b957e073ce014c78923b |