Redbrick-sdk

Latest version: v2.17.3

Safety actively analyzes 630254 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 28

2.13.19

**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.13.18...v2.13.19

2.13.18

**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.13.17...v2.13.18

2.13.17

**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.13.16...v2.13.17

2.13.16

CLI (redbrick export)
- `--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.

SDK (project.export.export_tasks)
- `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`

**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.13.15...v2.13.16

2.13.16b2

**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.13.16b1...v2.13.16b2

2.13.16b1

- SDK: https://redbrick-sdk.readthedocs.io/en/stable/sdk.html#redbrick.export.Export.export_tasks

semantic_mask (bool = False) – Whether to export all segmentations as semantic_mask. This will create one instance 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 (Optional[bool] = None) – Whether to export all segmentations as binary masks. This will create one segmentation file per instance. If this is set to None and a task has overlapping labels, then binary_mask option will be True for that particular task.

If both semantic_mask and binary_mask options are True, then one binary mask will be generated per class.

- CLI: `redbrick export`
<img width="815" alt="image" src="https://github.com/redbrick-ai/redbrick-sdk/assets/59230352/cdb0e5c9-6a78-4775-b68a-920cb539c9fc">

**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.13.15...v2.13.16b1

Page 6 of 28

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.