Skip to main content

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.5.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

redbrick_sdk-0.0.5-py3-none-any.whl (10.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page