Changelog for RedBrick AI SDK
project.created_at
and project.updated_at
properties.org.delete_taxonomies()
for bulk delete of taxonomies.org.taxonomies()
to return complete list of taxonomies.org.delete_projects()
for bulk delete of archived projects.API Key - {keyName}
labelId
property, which can be directly used to create entity-level comments via project.upload.create_comment()
search
filter is specified--dicom-seg
in CLI)prune_segmentations
support in Label & Upload labels methods, which does a two-way pruning of uncommon instances in segmentMap and segmentationsREDBRICK_SDK_LOG_LEVEL
or through redbrick.config.log_level
attribute.For example, in order to suppress all INFO and WARNING messages and only log for ERROR:REDBRICK_SDK_LOG_LEVEL=40 redbrick clone ...
import redbrick redbrick.config.log_level = 40 project = redbrick.get_project(…)
rt_struct=True
in project.upload.create_datapoints()
OR --rt-struct
in redbrick upload
segmentMap
will be ROI names instead of instance ids -> {"Segment_1": "category"}
assignee
format--without-masks
: Exports only tasks JSON without downloading any segmentation masks.
Note: This is not recommended for tasks with overlapping labels.--semantic
: Whether to export all segmentations as semantic_mask.
This will create one segmentation file per class.
If this is set to True and a task has multiple instances per class,
then attributes belonging to each instance will not be exported.--binary-mask
: Whether to export all segmentations as binary masks.
This will create one segmentation file per instance.--single-mask
: Whether to export all segmentations in a single file.
Binary mask will be considered if both binary_mask and single_mask are set.without_masks: bool = False
: Same as --without-masks
without_json: bool = False
: Doesn’t create the tasks JSON file.semantic_mask: bool = False
: Same as --semantic
binary_mask: Optional[bool] = None
: True is same as --binary-mask
and False is same as --single-mask
redbrick export
RBProject.settings
member to manage project-level settings (https://redbrick-sdk.readthedocs.io/en/stable/sdk.html#redbrick.settings.Settings)redbrick.version()
redbrick -v
--rt-struct
in redbrick export / rt_struct: bool
in Export.export_tasksuser
entities across exports to email of user.--rt-struct
in redbrick export / rt_struct: bool
in Export.export_tasksuser
entities across exports to email of user.Labeling.assign_tasks
Labeling.put_tasks
stage_name
and tasks
are keyword-only.finalize
boolean indicates whether to submit or save the task as draft in the label stagereview_result
boolean indicates whether to accept or reject all tasks in the review stageLabeling.get_task_queue
Labeling.assign_task
Labeling.assign_tasks
concurrency
in upload