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.2.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for redbrick_sdk-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f7a2dae521098330af6b4f69ee02d1003b133e7389f503e38c5acd1dbbf06cd |
|
MD5 | dca1e6073cb944cfb523b89926f012ab |
|
BLAKE2b-256 | 354a208447654bb8984cc3335ae2c8c6d82e00e8ab0971116f34af1fab932e8c |