Releases: Graviti-AI/tensorbay-python-sdk
v1.9.0
New Features:
-
Support
overrideandskipstrategies inSegmentClient.move_data(#819) -
Add
GAS.get_userto get the current user info (#808) -
Support manipulating dataset alias:
-
Support setting and showing
descriptionin CLIgas draft(#803) -
Add
--editoption in CLIgas draftto edit a draft (#805) -
Add
--closeoption in CLIgas draftto close a draft (#811) -
Add draft description to the pop-up editor of
gas commitas default message (#815) -
Display the corresponding message after deleting data or a segment in
gas rm(#859)
Interface Adjustments:
- Change the signature of
Transform3D.set_rotationandSensor.set_rotation(#881)
Improvements:
- Unify the
descriptiondisplay logic ingas draftandgas commit(#817) - Set the file name as
""when posting files to cloud storage (#858) - Add utility function
chunkedto break an iterable into length n tuples (#876) - Set the minimum version of
urllib3back to v1.15 (#867)
Performance:
- Speed up file uploads for fusion dataset in
GAS.upload_datasetby adapting OpenAPImultiCallback(#804) - Speed up file uploads by sending file size to TensorBay (#862)
- Speed up file uploads by enlarging the batch size of
multiCallback(#882)
Documentation:
- Add the docs about
--editand--closeoption in CLIgas draft(#827) - Add the docs about CLI "Profile" (#781)
- Refine the docs (#791, #783, #861, #890)
- Fix the typo in docstrings (#801, #818, #888)
Deprecations:
v1.8.1
v1.8.0
New Features:
-
Add
Data.get_urlto get thefile://url for a local file (#789) -
Support more operations on draft:
-
Add
--messageoption in CLIgas draftto settitleanddescriptionof a draft (#735) -
Add
SegmentClient.list_urlsandFusionSegmentClient.list_urlsto list the file urls (#807) -
Add the following open dataset loaders:
Bug fixes:
- Fix the
ImportErrorwhenimport tensorbayin python 3.6 (#814)
Improvements:
- Add
shortenfunction to get the short commit ID (#755) - Merge the
CLASSIFICATIONlabel intoBOX2Dlabel in theCompCarsopen dataset (#780) - Remove useless
DatasetClient.import_all_filesinterface (#790) - Correct the illegal segment names in all the open dataset loaders (#794)
- Move customized
clickclasses fromcli/cli.pytocli/custom.py(#797) - Stop showing the
descriptioninCommit.__repr__(#800) - Exclude useless
docsandtestsmodules from thetensorbaypackage (#826)
Performance:
- Speed up file uploads in
GAS.upload_datasetby adapting OpenAPImultiCallback(#788) - Enhance the performance of
RemoteData.openby batch requesting file urls (#809)
Documentation:
Deprecations:
v1.7.0
New Features:
-
Support copying and moving data and segment (#748, #753, #777)
-
Support importing data from auth cloud storage (#747, #768, #769, #770)
-
Add special error messages to all attrs in
LabelandCatalogwhen the attr does not exist (#731) -
Add
gas authcommand to authenticate, list and unset TensorBay account (#672, #681, #684, #693) -
Support listing and unsetting config in
gas configcommand (#695, #697) -
The CLI config file format is updated to support multiple profiles better (#638)
-
Add
Vector.__abs__to get the 2-norm of a vector (#674) -
Add the following basic arithmetic methods for
Vector: (#673)Vector.__sub__Vector.__rsub__Vector.__mul__Vector.__rmul__Vector.__truediv__Vector.__floordiv__
-
Add
__contains__method for the followingSequencesubclasses (#707, #708):UserSequenceNameListSortedNameListDatasetBase
-
Add
__eq__method forUserSequenceandUserMapping(#719, #726) -
Add
__reversed__method forUserSequence(#727)
Bug fixes:
- Fix the issue that
.pngfiles are all missing inRP2Kopen dataset loader (#714)
Interface adjustment:
- Use
NameSortedListinSensorsto replaceNameSortedDict(#704) - Rename
NamedListtoNameListandNameSortedListtoSortedNameList(#706)
Improvements:
- Move lazy evaluation related code to
client/lazy.py(#688) - Use
bisectinNameSortedListto replaceSortedDict(#703) - Remove
sortedcontainersfrom dependancies (#705) - Group version control methods from
DatasetClientBaseintoVersionControlClient(#750)
Performance:
- Enhance the performance of the following methods: (#675)
Polyline2D.uniform_frechet_distancePolyline2D.similarity
- Override
PagingListmixin methods inherited fromMutableSequenceto enhance its performance (#686)
Documentation:
- Add docs about copying and moving data and segment (#761, #765)
- Add docs about importing data from auth cloud storage (#756)
- Add docs about
gas authandgas config(#696, #702) - Fix typos in docs (#679)
- Refine the docs (#700, #736, #725, #754)
Deprecations:
v1.6.0
IMPORTANT: TensorBay system underwent a huge refactoring, which broke the downward compatibility
of OpenAPI and SDK. As a result, the SDK under version v1.6.0 does not work anymore.
Please update tensorbay SDK to v1.6.0 or a higher version.
New Features:
-
Add the following methods to support multiple branches (#644, #657):
-
Support creating draft on different branches (#652, #649, #659, #733)
-
Support uploading dataset on different branches in
GAS.upload_dataset(#694) -
Add open dataset loader
BDD100Kfor its CLASSIFICATION and BOX2D label (#631) -
Add the following CLI commands:
-
Add popup editor for the following CLI commands to edit title and description (#662):
-
Support setting
descriptioningas commitcommand (#730)
Interface adjustment:
- Change the default segment name from
""to"default"(#620, #686) - Set argument
titleofDatasetClientBase.create_draftrequired (#668) - Use dynamic attr and public attrs in
CameraIntrinsics(#606) - Implement
NamedListto replaceNameOrderedDict(#621) - Change the type of
Notes.bin_point_cloud_fieldstolist(#660) - Disable method
SegmentClientBase.delete_datatemporarily (#737)
Improvements:
- Rebuild uploading data procedure to adapt new TensorBay backend (#671)
- Use
titleanddescriptioninstead ofmessagein commit (#713, #718, #724) - Handle the branch without commit history (#618, #701, #709, #734, #596)
- Fix type hint errors reported by
mypy(#590) - No longer dumps "skew" of zero value in
CameraMatrix(#609) - Add
error()function for CLI to echo error message then exit (#642, #647, #658) - Delete useless
need_team_datasetargument inGAS._list_datasets()(#682) - Add
DefaultValueDeprecatedto deprecate arg default value (#639, #654) - Refine
AttrsMixinframework (#586, #591, #595, #598, #603, #607, #629, #633, #636) - Apply
AttrsMixinin the following modules and classes:
Documentation:
v1.5.3
v1.5.2
v1.5.1
v1.5.0
New Features:
-
Redesign and implement the
gasCLI based on TensorBay version control (#575):- Support
draft numberandrevisioninTBRN(#525) - Add
gas datasetcommand to create, list and delete dataset (#523, #526, #528, #530, #534, #571) - Support
gas lscommand to list segments and data in specific draft or revision (#541, #618) - Add
gas draftcommand to create and list drafts (#546, #547, #548) - Add
gas commitcommand to commit draft (#549) - Add
gas cpcommand to upload files to draft (#551) - Add
gas rmcommand to remove segment and data in draft (#555, #582)
- Support
-
Add detailed resuming message when uploading process got interrupted (#516, #536)
-
Add
ModuleImportErrorto print detailed install instruction when the optional requirement package is not installed (#544) -
Implement
DatasetBase.__delitem__to support delete segment from dataset bydel(#542) -
Add open dataset loader
LISA Traffic Sign(#518)
Bug fixes:
Improvements:
- Remove the redundant class variable
descriptioninKeypointsInfo(#506) - Implement python attr framework
AttrsMixin(#447, #559, #560, #565, #569, #566, #580) - Move
TBRNfromutilitymodule toclimodule (#540) - Inherit
EqMixinto replace__eq__in the following intrinsic classes (#539):CameraMatrixDistortionCoefficientsCameraIntrinsics
Documentation:
- Refactor CLI related docs (#520, #527, #533, #556, #558, #561, #578, #608, #628, #632)
- Add
Integrationschapter forPyTorchandTensorFlowintegration (#550, #553, #588, #589, #594) - Refine the docs (#501, #508, #514, #517, #513, #509, #519, #537)
- Fix the typo in docs (#531)
Deprecations:
- Deprecate CLI
gas createandgas delete(#568) - Deprecate legacy fusion dataset
TBRN(#581) - Remove the following deprecated interfaces (#511):
- Following exceptions:
GASDatasetErrorGASDatasetTypeErrorGASExceptionGASPathErrorGASResponseErrorGASSegmentError
- The
startandstopkeyword arguments in the following methods:GAS.list_dataset_namesDatasetClientBase.list_draftsDatasetClientBase.list_commitsDatasetClientBase.list_tagsDatasetClientBase.list_branchesDatasetClientBase.list_segment_namesSegmentClient.list_data_pathsSegmentClient.list_dataFusionSegmentClient.list_frames
- Following methods:
DatasetClientBase.list_draft_titles_and_numbers
- Following exceptions:
v1.4.1
New Features:
- The local visualization plugin
pharosis released, it can be installed bypip3 install pharos:
Bug fixes:
- Fix the
JSONDecodeErroroccurred when uploading dataset (#563, Fix #562) - Fix the
AttributeErrorwhen usingCADCdataloader in python3.6 (#576, Fix #574) - Fix the
AttributeErrorwhen resuming upload of fusion dataset (#583, Fix #579)