Skip to content

Releases: Graviti-AI/tensorbay-python-sdk

v1.16.1

30 Nov 04:24
Compare
Choose a tag to compare

Improvements:

  • Make timeout setting in tensorbay.client.config take effect for urlopen

v1.16.0

16 Nov 14:13
Compare
Choose a tag to compare

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' to open() to make it compatible for Windows (#1064)
  • Use xmltodict to parse xml files instead of xml.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:

Deprecations:

  • Remove the deprecated method GAS.create_auth_dataset (#1087)

v1.15.0

01 Nov 14:46
Compare
Choose a tag to compare

New Features:

  • Support setting is_public in GAS.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 when tbrn is absent (#1039)

Documentation:

v1.14.0

18 Oct 15:56
Compare
Choose a tag to compare

New Features:

  • Display elapsed time of the request in the debug log (#1031)
  • Use response.elapsed to get the cost time of a request in profile (#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

28 Sep 03:26
Compare
Choose a tag to compare

New Features:

  • Support filtering drafts by status and branch_name in VersionControlClient.list_drafts (#988)

  • Add class Profile to record the statistical information about the HTTP requests in SDK (#992)

    • Support using Profile in multi-process environment (#996)
    • Support saving Profile summary to csv, txt or json file (#1004, #1021, #1022, #1024)
  • 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 and CIHP cannot be imported from opendataset module (#1013)
  • Correct the wrong visible status in LIP dataset loader (#1026)

Improvements:

  • Unify the variable names about directory and tbrn (#997, #1002)
  • Use ValueError, StatusError to replace OperationError (#1028)

Documentation:

  • Add examples about SemanticMask and InstanceMask (#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

13 Sep 12:23
Compare
Choose a tag to compare

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 when skip_upload_files is False in FusionDatasetClient.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:

  • Remove the deprecated code before v1.10.0 (#976)
  • Deprecate GAS.create_auth_dataset and use GAS.create_dataset instead (#984)

v1.11.0

30 Aug 14:11
Compare
Choose a tag to compare

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

    • Rename ResponseSystemError to InternalServerError (#920, #932)
    • Add ForbiddenError (#921)
    • Unify the signature of the exception classes (#916)
    • Amend the status code of NameConflictError to 409 (#922)
    • Fix the AttributeError when calling ResponseError.response (#928)
  • 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 and VOC2012ActionClassification (#927)

  • Delete trainval segments for VOC2012Detection and VOC2012ActionClassification (#926)

Documentation:

  • Add docs about diff (#934)
  • Add docs about "Beizer Curve" (#964)
  • Add docs about "merge datasets" (#953, #978)
  • Refine the docs (#923)

v1.10.2

26 Aug 03:37
Compare
Choose a tag to compare

Bug fixes:

  • Add a workaround for MalformedPOSTRequest error when posting files to Aliyun OSS (#969)

v1.10.1

24 Aug 13:41
Compare
Choose a tag to compare

New Features:

Interface Adjustments:

  • Remove the loads method for DataBase, Data and AuthData (#900)
  • Add get_callback_body method to replace dumps in Data (#902)
  • Add from_response_body method to replace loads in RemoteData & Frame (#903)

Improvements:

  • Add FileMixin and RemoteFileMixin for file-related methods (#899)
  • Support setting custom loader and dumper in AttrsMixin (#910)

Documentation:

  • Add docs about SemanticMask, InstanceMask and PanopticMask (#943, #951, #961)

v1.10.0

16 Aug 14:21
Compare
Choose a tag to compare

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, and timeout) in CLI gas config (#836)

  • Support validating the AccessKey and displaying the user info in CLI gas auth (#848)

  • Add --status option for CLI gas auth to display the user and auth info (#855)

  • Support displaying error messages for CLI gas auth (#856)

  • Add -l option for CLI gas ls to show the total number of resources (#864)

  • Add --all option for CLI gas log to show the commits in all branches (#829)

  • Add --graph option for CLI gas 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 in GAS.create_auth_dataset because the path 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 argument alias in GAS.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 in AttributeInfo .__repr__ (#887)
  • Cleanup the following useless codes:
    • Remove the useless class variable _label_attrs from label related classes (#843)
    • Remove the useless class SubcatalogTypeRegister (#847)
    • Remove the useless class LabelType (#849)
    • Remove the useless type Subcatalogs (#853)

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 CLI gas log (#909)
  • Fix the typo in docs (#845)
  • Refine the docs (#866)