Releases: Graviti-AI/tensorbay-python-sdk
v1.9.0
New Features:
-
Support
override
andskip
strategies inSegmentClient.move_data
(#819) -
Add
GAS.get_user
to get the current user info (#808) -
Support manipulating dataset alias:
-
Support setting and showing
description
in CLIgas draft
(#803) -
Add
--edit
option in CLIgas draft
to edit a draft (#805) -
Add
--close
option in CLIgas draft
to close a draft (#811) -
Add draft description to the pop-up editor of
gas commit
as 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_rotation
andSensor.set_rotation
(#881)
Improvements:
- Unify the
description
display logic ingas draft
andgas commit
(#817) - Set the file name as
""
when posting files to cloud storage (#858) - Add utility function
chunked
to break an iterable into length n tuples (#876) - Set the minimum version of
urllib3
back to v1.15 (#867)
Performance:
- Speed up file uploads for fusion dataset in
GAS.upload_dataset
by 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
--edit
and--close
option 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_url
to get thefile://
url for a local file (#789) -
Support more operations on draft:
-
Add
--message
option in CLIgas draft
to settitle
anddescription
of a draft (#735) -
Add
SegmentClient.list_urls
andFusionSegmentClient.list_urls
to list the file urls (#807) -
Add the following open dataset loaders:
Bug fixes:
- Fix the
ImportError
whenimport tensorbay
in python 3.6 (#814)
Improvements:
- Add
shorten
function to get the short commit ID (#755) - Merge the
CLASSIFICATION
label intoBOX2D
label in theCompCars
open dataset (#780) - Remove useless
DatasetClient.import_all_files
interface (#790) - Correct the illegal segment names in all the open dataset loaders (#794)
- Move customized
click
classes fromcli/cli.py
tocli/custom.py
(#797) - Stop showing the
description
inCommit.__repr__
(#800) - Exclude useless
docs
andtests
modules from thetensorbay
package (#826)
Performance:
- Speed up file uploads in
GAS.upload_dataset
by adapting OpenAPImultiCallback
(#788) - Enhance the performance of
RemoteData.open
by 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
Label
andCatalog
when the attr does not exist (#731) -
Add
gas auth
command to authenticate, list and unset TensorBay account (#672, #681, #684, #693) -
Support listing and unsetting config in
gas config
command (#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 followingSequence
subclasses (#707, #708):UserSequence
NameList
SortedNameList
DatasetBase
-
Add
__eq__
method forUserSequence
andUserMapping
(#719, #726) -
Add
__reversed__
method forUserSequence
(#727)
Bug fixes:
- Fix the issue that
.png
files are all missing inRP2K
open dataset loader (#714)
Interface adjustment:
- Use
NameSortedList
inSensors
to replaceNameSortedDict
(#704) - Rename
NamedList
toNameList
andNameSortedList
toSortedNameList
(#706)
Improvements:
- Move lazy evaluation related code to
client/lazy.py
(#688) - Use
bisect
inNameSortedList
to replaceSortedDict
(#703) - Remove
sortedcontainers
from dependancies (#705) - Group version control methods from
DatasetClientBase
intoVersionControlClient
(#750)
Performance:
- Enhance the performance of the following methods: (#675)
Polyline2D.uniform_frechet_distance
Polyline2D.similarity
- Override
PagingList
mixin methods inherited fromMutableSequence
to 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 auth
andgas 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
BDD100K
for 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
description
ingas commit
command (#730)
Interface adjustment:
- Change the default segment name from
""
to"default"
(#620, #686) - Set argument
title
ofDatasetClientBase.create_draft
required (#668) - Use dynamic attr and public attrs in
CameraIntrinsics
(#606) - Implement
NamedList
to replaceNameOrderedDict
(#621) - Change the type of
Notes.bin_point_cloud_fields
tolist
(#660) - Disable method
SegmentClientBase.delete_data
temporarily (#737)
Improvements:
- Rebuild uploading data procedure to adapt new TensorBay backend (#671)
- Use
title
anddescription
instead ofmessage
in 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_dataset
argument inGAS._list_datasets()
(#682) - Add
DefaultValueDeprecated
to deprecate arg default value (#639, #654) - Refine
AttrsMixin
framework (#586, #591, #595, #598, #603, #607, #629, #633, #636) - Apply
AttrsMixin
in the following modules and classes:
Documentation:
v1.5.3
v1.5.2
v1.5.1
v1.5.0
New Features:
-
Redesign and implement the
gas
CLI based on TensorBay version control (#575):- Support
draft number
andrevision
inTBRN
(#525) - Add
gas dataset
command to create, list and delete dataset (#523, #526, #528, #530, #534, #571) - Support
gas ls
command to list segments and data in specific draft or revision (#541, #618) - Add
gas draft
command to create and list drafts (#546, #547, #548) - Add
gas commit
command to commit draft (#549) - Add
gas cp
command to upload files to draft (#551) - Add
gas rm
command to remove segment and data in draft (#555, #582)
- Support
-
Add detailed resuming message when uploading process got interrupted (#516, #536)
-
Add
ModuleImportError
to 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
description
inKeypointsInfo
(#506) - Implement python attr framework
AttrsMixin
(#447, #559, #560, #565, #569, #566, #580) - Move
TBRN
fromutility
module tocli
module (#540) - Inherit
EqMixin
to replace__eq__
in the following intrinsic classes (#539):CameraMatrix
DistortionCoefficients
CameraIntrinsics
Documentation:
- Refactor CLI related docs (#520, #527, #533, #556, #558, #561, #578, #608, #628, #632)
- Add
Integrations
chapter forPyTorch
andTensorFlow
integration (#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 create
andgas delete
(#568) - Deprecate legacy fusion dataset
TBRN
(#581) - Remove the following deprecated interfaces (#511):
- Following exceptions:
GASDatasetError
GASDatasetTypeError
GASException
GASPathError
GASResponseError
GASSegmentError
- The
start
andstop
keyword arguments in the following methods:GAS.list_dataset_names
DatasetClientBase.list_drafts
DatasetClientBase.list_commits
DatasetClientBase.list_tags
DatasetClientBase.list_branches
DatasetClientBase.list_segment_names
SegmentClient.list_data_paths
SegmentClient.list_data
FusionSegmentClient.list_frames
- Following methods:
DatasetClientBase.list_draft_titles_and_numbers
- Following exceptions:
v1.4.1
New Features:
- The local visualization plugin
pharos
is released, it can be installed bypip3 install pharos
:
Bug fixes:
- Fix the
JSONDecodeError
occurred when uploading dataset (#563, Fix #562) - Fix the
AttributeError
when usingCADC
dataloader in python3.6 (#576, Fix #574) - Fix the
AttributeError
when resuming upload of fusion dataset (#583, Fix #579)