Releases: Graviti-AI/tensorbay-python-sdk
v1.4.0
New Features:
-
Make
PagingList
mutable, and followMutableSequence
protocol (#462, #472, #475) -
Support reading remote data lazily in
Dataset
andSegment
: -
Support getting segment by name in
DatasetBase.__getitem__
(#498)- Use
segment = dataset["test"]
to get segment by name instead ofsegment = dataset.get_segment_by_name("test")
. - Use
segment_names = dataset.keys()
to get all segment names in a dataset.
- Use
-
Add the following methods to convert between
category
andindex
for writing training code easier (#468)CategoriesMixin.get_category_to_index
CategoriesMixin.get_index_to_category
-
Add the following exceptions as subclasses of
ResponseError
(#437, #458)AccessDeniedError
InvalidParamsError
NameConflictError
RequestParamsMissingError
ResourceNotExistError
ResponseSystemError
UnauthorizedError
-
Support
skip_uploaded_files
flag inGAS.upload_dataset
for fusion dataset (#494) -
Add open dataset loader
COVID-chestxray
andnuScenes
(#459, #481)
Improvements:
- Refactor CLI related code to a new module (#479)
- Stop checking the
commit_id
inDatasetClientBase.__init__
to avoid sending redundant request (#485) - Fix the possibly unbound variable warning in
CompCars
(#490)
Documentation:
- Add
Update Dataset
,Update Label
andUpdate Data
chapter (#465, #457, #495) - Add docs for specific response exceptions (#478)
- Add
continuity
andtracking
in glossary (#493) - Update docs for reading segments from lazy evaluation
Dataset
rather thanDatasetClient
(#486) - Refine the docs (#448, #451, #426)
- Refine the example in docs (#440, #444, #430, #441, #443, #450, #453)
Deprecations:
- Deprecate
DatasetBase.get_segment_by_name
(#498)
v1.3.1
v1.3.0
New Features:
-
Implement
PagingList
to lazy access elements from paging requests, which followsSequence
protocol (#369, #386) -
Use
PagingList
as the return value instead ofiterator
for the folloing methods:GAS.list_dataaset_names
(#387)DatasetClientBase.list_drafts
(#394)DatasetClientBase.list_commits
(#395)DatasetClientBase.list_tags
(#397)DatasetClientBase.list_branches
(#398)DatasetClientBase.list_segment_names
(#399)SegmentClient.list_data_paths
(#400)SegmentClient.list_data
(#402)FusionSegmentClient.list_frames
(#403)
-
Support creating dataset with auth cloud storage:
-
Add
client.config
to adjust the request configuration (#456)- Support adjusting the config of the request retry strategy:
config.timeout
,config.max_retry
etc. - Support uploading/reading data from cloud server internal endpoint (#407)
- Support adjusting the config of the request retry strategy:
-
Build TensorBay exception system:
-
Add
bin_point_cloud_fields
to datasetNotes
to support.bin
format point cloud with different fields (#396, #446) -
Display the upload progress by process bar in
GAS.upload_dataset
and(Fusion)DatasetClient.upload_segment
(#480) -
Add open dataset loader
opendataset.HalpeFullBody
andopendataset.BioIDFace
(#364, #452, #372)
Improvements:
- Update open dataset name according to TensorBay latest naming rule (#390, #417, #445)
- Display
commit_id
inCommit.__repr__
(#415) - Refine the error message of unexpected status code (#438)
- Delete duplicated loads
lexicon
code onSentenceSubcatalog
(#464)
Documentation:
- Add docs for "Cloud Storage" (#421)
- Add docs for "Request Configuration" (#463, #474)
- Add docs for "Use Internal Endpoint" (#471)
- Add docs for TensorBay exception system (#418, #423)
- Add docs for
bin_point_cloud_fields
(#419) - Add
tag
toglossary
docs (#432) - Refine the docstring and docs (#367, #378, #373, #379, #392, #375, #411, #425, #408, #404, #422, #433, #435, #420)
- Fix typos in docstring and docs(#366, #371, #370, #376, #393, #424, #439, #442, #473)
Deprecations:
v1.2.2
v1.2.1
v1.2.0
New Features:
-
Add basic methods for dataset Version Control (#306, #307, #308, #294, #350, #414)
-
Support dataset with continuous data (#401)
-
Support "Fusion Dataset" (#267, #314, #320, #330, #331, #332, #339)
-
Make request session safe in multiprocesses environment (#382)
-
Add SDK version info to "Event Tracking" and support "Event Tracking" for CLI (#326, #363)
-
Add method
create_segment()
for dataset client (#291) -
Add
__eq__
forLabel
(#265)
Improvements:
- Modify Tensorbay gateway to "gatewayv2" (#347, #436)
- Refine the NotImplemented logic in binary operators (#271)
- Check whether the url starts with "https://" in
Client
(#321) - Implement decorator
Deprecated
for deprecated functions (#336)
Packaging:
- Add minimum versions for dependancies (#427)
Documentation:
- Add docs for dataset Version Control (#355, #360, #358)
- Add docs for "Fusion Dataset" (#340, #338)
- Add docs for dataset with continuous data and
Notes
(#313, #345, #346) - Update urls in docs (#327, #341, #348)
- Refine the docstring and docs (#286, #317, #325, #324, #343, #342)
- Fix typos in docs (#298, #302, #300, #305, #310, #323, #361)
- Add examples to docstring (#219, #220, #217, #218, #229, #297, #301, #303, #304, #296, #292, #232, #209, #236, #295, #315, #233, #221)
Deprecations:
- Deprecate
DatasetClientBase.list_draft_titles_and_numbers
, useDatasetClientBase.list_draft
instead (#337)