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
xmltodictto parse xml files instead ofxml.ElementTree(#1070) - Add file
tensorbay/py.typedto 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_publicinGAS.create_dataset(#1038) - Support importing auth cloud storage data to fusion dataset (#1037)
- Support cache when opening remote data (#1041)
- Add
DatasetClientBase.get_total_sizeto get the total data size in a dataset commit (#1047) - Add
VersionControlClient.squash_and_mergeto merge two different branches (#1019)
Improvements:
- Use
os.path.expanduserto 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-Idto 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
IndexErrorwhen loading the data with panoptic mask (#1036) - Remove the wrong error message in
gas datasetwhentbrnis absent (#1039)
Documentation:
v1.14.0
New Features:
- Display elapsed time of the request in the debug log (#1031)
- Use
response.elapsedto get the cost time of a request inprofile(#1032) - Add
DatasetClientBase.get_label_statisticsto 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
getDataDetailsto 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
statusandbranch_nameinVersionControlClient.list_drafts(#988) -
Add class
Profileto record the statistical information about the HTTP requests in SDK (#992) -
Add the following
BDD100Krelated open dataset loaders (#846, #860, #868, #872, #914, #959, #967, #973, #995, #1006):BDD100KBDD100K-10KBDD100K-MOTBDD100K-MOTS
-
Add the following open dataset loaders:
-
Unify the format of prompt messages in CLI (#980)
Bug fixes:
- Fix the dataset loader
LIPandCIHPcannot be imported fromopendatasetmodule (#1013) - Correct the wrong visible status in
LIPdataset loader (#1026)
Improvements:
- Unify the variable names about
directoryandtbrn(#997, #1002) - Use
ValueError,StatusErrorto replaceOperationError(#1028)
Documentation:
- Add examples about
SemanticMaskandInstanceMask(#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_configGAS.create_s3_storage_configGAS.create_azure_storage_config
-
Add
GAS.delete_storage_configto delete customized cloud storage config (#966) -
Enable the method
SegmentClient.delete_datato delete data (#946) -
Add
FusionSegmentClient.delete_frameto delete frame (#960) -
Support getting and updating dataset
isPublicflag (#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_datato stop deleting data in Fusion dataset (#962)
Improvements:
- Prohibit closing current draft in
VersionControlClient.close_draft(#955) - Avoid getting
done_frameswhenskip_upload_filesisFalseinFusionDatasetClient.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_diffto 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
ContextInfoto 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
VOC2012DetectionandVOC2012ActionClassification(#927) -
Delete
trainvalsegments forVOC2012DetectionandVOC2012ActionClassification(#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
loadsmethod forDataBase,DataandAuthData(#900) - Add
get_callback_bodymethod to replacedumpsinData(#902) - Add
from_response_bodymethod to replaceloadsinRemoteData&Frame(#903)
Improvements:
- Add
FileMixinandRemoteFileMixinfor 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
--statusoption for CLIgas authto display the user and auth info (#855) -
Support displaying error messages for CLI
gas auth(#856) -
Add
-loption for CLIgas lsto show the total number of resources (#864) -
Add
--alloption for CLIgas logto show the commits in all branches (#829) -
Add
--graphoption for CLIgas logto show the graphical commits (#874) -
Set
-has an abbreviation of--helpto show CLI help messages (#880)
Interface Adjustments:
- Remove the
pathargument inGAS.create_auth_datasetbecause thepathis 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
Noneas the default value of the argumentaliasinGAS.update_dataset(#870) - Correct the illegal remote paths for
RP2Kdataset 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
nameinAttributeInfo .__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
--alland--graphoptions in CLIgas log(#909) - Fix the typo in docs (#845)
- Refine the docs (#866)