Releases: Graviti-AI/tensorbay-python-sdk
v1.16.1
v1.16.0
New Features:
- Add checking and warning for free storage space when enabling cache (#1081)
- Add the following open dataset loaders:
Improvements:
- Add argument
encoding='utf-8'
toopen()
to make it compatible for Windows (#1064) - Use
xmltodict
to parse xml files instead ofxml.ElementTree
(#1070) - Add file
tensorbay/py.typed
to comply with PEP-561 (#1085)
Bug fixes:
- Fix
Data.open()
catch exception failed when url is expired (#1062)
Documentation:
- Reconstruct "Version Control" chapter (#1063)
- Fix the typo in docs (#1066)
- Refine the docs (#1060, #1065, #1067, #1069, #1072, #1050, #1073, #1080)
- Refine the docstring (#1074)
Deprecations:
- Remove the deprecated method
GAS.create_auth_dataset
(#1087)
v1.15.0
New Features:
- Support setting
is_public
inGAS.create_dataset
(#1038) - Support importing auth cloud storage data to fusion dataset (#1037)
- Support cache when opening remote data (#1041)
- Add
DatasetClientBase.get_total_size
to get the total data size in a dataset commit (#1047) - Add
VersionControlClient.squash_and_merge
to merge two different branches (#1019)
Improvements:
- Use
os.path.expanduser
to handle the CLI config file path in different systems (#1042) - Replace relative import with absolute import for all python files in SDK (#1043)
- Remove the useless checks about commits and drafts in
ls.py
(#1046) - Add
X-Request-Id
to all the tensorbay OpenAPI request headers (#1049, #1052) - Add detailed resuming message when uploading process got interrupted in CLI
gas cp
(#1053)
Bug fixes:
- Add a workaround for the
IndexError
when loading the data with panoptic mask (#1036) - Remove the wrong error message in
gas dataset
whentbrn
is absent (#1039)
Documentation:
v1.14.0
New Features:
- Display elapsed time of the request in the debug log (#1031)
- Use
response.elapsed
to get the cost time of a request inprofile
(#1032) - Add
DatasetClientBase.get_label_statistics
to get the label statistics info (#1018) - Support updating file urls when the urls are expired (#1020)
- Add open dataset loaders
SegTrack2
(#1007)
Improvements:
- Consolidate all config-related functions in
ContextInfo
(#1003)
Performances:
- Adapt OpenAPI
getDataDetails
to increase the speed of reading labels and urls (#1017, #1025, #1033) - Upload auth cloud storage data labels on the cloud-callback OpenAPI to increase the uploading speed (#1014)
Documentation:
- Add "Update Dataset Notes" section in "Update Dataset" chapter (#1008)
- Add docs about cloud file in-place importing in "Cloud Storage" (#1034)
- Add docs about getting the label statistics info in "Get Label Statistics" (#1018)
- Refactor the "Version Control" chapter (#782)
- Refine the docs (#1009, #1011)
v1.13.0
New Features:
-
Support filtering drafts by
status
andbranch_name
inVersionControlClient.list_drafts
(#988) -
Add class
Profile
to record the statistical information about the HTTP requests in SDK (#992) -
Add the following
BDD100K
related open dataset loaders (#846, #860, #868, #872, #914, #959, #967, #973, #995, #1006):BDD100K
BDD100K-10K
BDD100K-MOT
BDD100K-MOTS
-
Add the following open dataset loaders:
-
Unify the format of prompt messages in CLI (#980)
Bug fixes:
- Fix the dataset loader
LIP
andCIHP
cannot be imported fromopendataset
module (#1013) - Correct the wrong visible status in
LIP
dataset loader (#1026)
Improvements:
- Unify the variable names about
directory
andtbrn
(#997, #1002) - Use
ValueError
,StatusError
to replaceOperationError
(#1028)
Documentation:
- Add examples about
SemanticMask
andInstanceMask
(#990) - Add catalog structure for different label types (#991)
- Add docs about how to use
Profile
(#1010) - Fix the typos in docs (#1005)
- Refine the docs (#982)
Deprecations:
- Remove the deprecated class
ResponseSystemError
(#1029)
v1.12.0
New Features:
-
Support creating dataset with different cloud storage configs in
GAS.create_dataset
(#984) -
Add the following methods to create customized cloud storage configs for different cloud services (#987, #989):
GAS.create_oss_storage_config
GAS.create_s3_storage_config
GAS.create_azure_storage_config
-
Add
GAS.delete_storage_config
to delete customized cloud storage config (#966) -
Enable the method
SegmentClient.delete_data
to delete data (#946) -
Add
FusionSegmentClient.delete_frame
to delete frame (#960) -
Support getting and updating dataset
isPublic
flag (#972, #974) -
Add the following open dataset loaders:
-
Print more friendly error messages in CLI (#939)
Interface Adjustments:
- Set current revision as the default in
VersionControlClient.list_commits
(#949) - Disable method
FusionSegmentClient.delete_data
to stop deleting data in Fusion dataset (#962)
Improvements:
- Prohibit closing current draft in
VersionControlClient.close_draft
(#955) - Avoid getting
done_frames
whenskip_upload_files
isFalse
inFusionDatasetClient.upload_segment
(#993)
Documentation:
- Add docs about "Update Dataset Meta" (#999)
- Add docs about "Delete Frame" (#1001)
- Fix the typos in docs (#977)
- Refine the docs (#963, #825, #994)
Deprecations:
v1.11.0
New Features:
- Add
DatasetClient.get_diff
to get the diff of the specified commit (#897, #911, #935, #936, #940) - Support Beizer Curve in
LabeledPolyline2D
(#956) - Show colorized commits info in CLI
gas log
(#892, #894) - Add open dataset loader
SVHN
(#896, #908)
Bug Fixes:
- Correct the wrong attribute name in
opendataset.VOC2012Detection
(#895)
Improvements:
-
Refactor the exception system
-
Add class
ContextInfo
to avoid reading config file repeatedly in CLI module (#893) -
Check the config name in
GAS.get_cloud_client
(#898) -
Remove the useless code about checking whether the catalog is empty (#913)
-
Transfer the input path to absolute path for
VOC2012Detection
andVOC2012ActionClassification
(#927) -
Delete
trainval
segments forVOC2012Detection
andVOC2012ActionClassification
(#926)
Documentation:
v1.10.2
v1.10.1
New Features:
- Support new label types: SemanticMask, InstanceMask and PanopticMask (#854, #915, #917, #918, #924, #954, #957)
Interface Adjustments:
- Remove the
loads
method forDataBase
,Data
andAuthData
(#900) - Add
get_callback_body
method to replacedumps
inData
(#902) - Add
from_response_body
method to replaceloads
inRemoteData
&Frame
(#903)
Improvements:
- Add
FileMixin
andRemoteFileMixin
for file-related methods (#899) - Support setting custom loader and dumper in
AttrsMixin
(#910)
Documentation:
v1.10.0
New Features:
-
Support new label types Polygon and Polyline2D, add five label formats:
-
Add the following open dataset loaders:
-
Add name conflict check for
SortedNameList
(#883) -
Support setting network request config (
is_internal
,max_retries
, andtimeout
) in CLIgas config
(#836) -
Support validating the AccessKey and displaying the user info in CLI
gas auth
(#848) -
Add
--status
option for CLIgas auth
to display the user and auth info (#855) -
Support displaying error messages for CLI
gas auth
(#856) -
Add
-l
option for CLIgas ls
to show the total number of resources (#864) -
Add
--all
option for CLIgas log
to show the commits in all branches (#829) -
Add
--graph
option for CLIgas log
to show the graphical commits (#874) -
Set
-h
as an abbreviation of--help
to show CLI help messages (#880)
Interface Adjustments:
- Remove the
path
argument inGAS.create_auth_dataset
because thepath
is bound to the cloud storage config (#919)
Bug Fixes:
- Add a workaround for the issue Chinese characters display garbled in Windows system (#906)
Improvements:
- Use list comprehension in
PointList2D.__init__
instead of for-loop (#841) - Set
None
as the default value of the argumentalias
inGAS.update_dataset
(#870) - Correct the illegal remote paths for
RP2K
dataset loader (#871) - Encapsulate the moving segment logic into
DatasetClientBase._move_segment
(#879) - Move the deprecation related classes into
deprecated.py
(#878) - Stop showing the redundant field
name
inAttributeInfo .__repr__
(#887) - Cleanup the following useless codes:
Documentation:
- Add docs about "Shell Completion" in the "CLI" section (#873, #886)
- Add docs about new label formats Polygon and Polyline2D (#884)
- Add docs about setting network request config in CLI
gas config
(#907) - Add docs about
--all
and--graph
options in CLIgas log
(#909) - Fix the typo in docs (#845)
- Refine the docs (#866)