From d92e3c7792c0f07030d87dc913f531cc9f6a14f2 Mon Sep 17 00:00:00 2001 From: "changjun.zhu" Date: Tue, 10 May 2022 17:29:10 +0800 Subject: [PATCH] docs: use ".com" url to replace ".cn" url --- README.md | 4 ++-- docs/code/BSTLD.py | 2 +- docs/code/CADC.py | 2 +- docs/code/DogsVsCats.py | 2 +- docs/code/LeedsSportsPose.py | 2 +- docs/code/NeolixOD.py | 2 +- docs/code/Newsgroups20.py | 2 +- docs/code/THCHS30.py | 2 +- docs/code/VOC2012Segmentation.py | 2 +- docs/code/basic_search.py | 2 +- docs/code/branch.py | 2 +- docs/code/cache.py | 2 +- docs/code/diff.py | 2 +- docs/code/draft_and_commit.py | 2 +- docs/code/merge_datasets.py | 2 +- docs/code/request_configuration.py | 2 +- docs/code/search_result.py | 2 +- docs/code/sextant.py | 4 ++-- docs/code/squash_and_merge.py | 2 +- docs/code/storage_config.py | 2 +- docs/code/tag.py | 2 +- docs/code/update_dataset.py | 2 +- docs/code/use_dataset_in_paddlepaddle.py | 2 +- docs/code/use_dataset_in_pytorch.py | 2 +- docs/code/use_dataset_in_tensorflow.py | 2 +- docs/code/use_internal_endpoint.py | 2 +- docs/source/advanced_features/fusion_dataset.rst | 4 ++-- docs/source/advanced_features/storage_config.rst | 4 ++-- docs/source/applications/sextant.rst | 5 +++-- docs/source/features/dataset_management.rst | 8 ++++---- .../getting_started_with_version_control.rst | 6 +++--- docs/source/index.rst | 4 ++-- docs/source/integrations/paddlepaddle.rst | 2 +- docs/source/integrations/pytorch.rst | 2 +- docs/source/integrations/tensorflow.rst | 2 +- docs/source/quick_start/examples/BSTLD.rst | 2 +- docs/source/quick_start/examples/CADC.rst | 4 ++-- docs/source/quick_start/examples/DogsVsCats.rst | 2 +- .../quick_start/examples/LeedsSportsPose.rst | 2 +- docs/source/quick_start/examples/Newsgroups20.rst | 2 +- docs/source/quick_start/examples/THCHS30.rst | 2 +- .../quick_start/examples/VOC2012Segmentation.rst | 2 +- .../source/quick_start/examples/merge_datasets.rst | 4 ++-- docs/source/quick_start/examples/move_and_copy.rst | 4 ++-- .../quick_start/getting_started_with_tensorbay.rst | 4 ++-- docs/source/reference/dataset_structure.rst | 8 ++++---- docs/source/reference/glossary.rst | 14 +++++++------- .../tensorbay_cli/getting_started_with_cli.rst | 2 +- 48 files changed, 73 insertions(+), 72 deletions(-) diff --git a/README.md b/README.md index b7cf1a9dd..22bd2dcdf 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ of OpenAPI and SDK. As a result, the SDK under version v1.6.0 does not work anym --- -TensorBay Python SDK is a python library to access [TensorBay](https://gas.graviti.cn/tensorbay/) +TensorBay Python SDK is a python library to access [TensorBay](https://gas.graviti.com/tensorbay/) and manage your datasets. It provides: @@ -39,7 +39,7 @@ More information can be found on the [documentation site](https://tensorbay-pyth ## Usage An **AccessKey** is needed to communicate with TensorBay. -Please visit [this page](https://gas.graviti.cn/tensorbay/developer) to get an **AccessKey** first. +Please visit [this page](https://gas.graviti.com/tensorbay/developer) to get an **AccessKey** first. ### Authorize a client object diff --git a/docs/code/BSTLD.py b/docs/code/BSTLD.py index e64e55732..71894a7c0 100644 --- a/docs/code/BSTLD.py +++ b/docs/code/BSTLD.py @@ -14,7 +14,7 @@ """Authorize a Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") diff --git a/docs/code/CADC.py b/docs/code/CADC.py index 1f92efade..88a771e3c 100644 --- a/docs/code/CADC.py +++ b/docs/code/CADC.py @@ -14,7 +14,7 @@ from tensorbay import GAS from tensorbay.dataset import FusionDataset -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") """""" diff --git a/docs/code/DogsVsCats.py b/docs/code/DogsVsCats.py index 36215c61b..a2e1644ea 100644 --- a/docs/code/DogsVsCats.py +++ b/docs/code/DogsVsCats.py @@ -14,7 +14,7 @@ """Authorize a Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") """""" diff --git a/docs/code/LeedsSportsPose.py b/docs/code/LeedsSportsPose.py index 14996be4f..ac4d37c52 100644 --- a/docs/code/LeedsSportsPose.py +++ b/docs/code/LeedsSportsPose.py @@ -15,7 +15,7 @@ """Authorize a Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") """""" diff --git a/docs/code/NeolixOD.py b/docs/code/NeolixOD.py index 3b3573163..4278b052b 100644 --- a/docs/code/NeolixOD.py +++ b/docs/code/NeolixOD.py @@ -14,7 +14,7 @@ """Authorize a Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") """""" diff --git a/docs/code/Newsgroups20.py b/docs/code/Newsgroups20.py index 411651fe6..d0dd60d10 100644 --- a/docs/code/Newsgroups20.py +++ b/docs/code/Newsgroups20.py @@ -14,7 +14,7 @@ """Authorize a Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") """""" diff --git a/docs/code/THCHS30.py b/docs/code/THCHS30.py index d8a84b60d..9bd3f5d35 100644 --- a/docs/code/THCHS30.py +++ b/docs/code/THCHS30.py @@ -14,7 +14,7 @@ """Authorize a Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") """""" diff --git a/docs/code/VOC2012Segmentation.py b/docs/code/VOC2012Segmentation.py index 9ac773cbc..98df4bc37 100644 --- a/docs/code/VOC2012Segmentation.py +++ b/docs/code/VOC2012Segmentation.py @@ -16,7 +16,7 @@ """Authorize a Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") """""" diff --git a/docs/code/basic_search.py b/docs/code/basic_search.py index 8423c28bd..60b90850a 100644 --- a/docs/code/basic_search.py +++ b/docs/code/basic_search.py @@ -15,7 +15,7 @@ """Authorize a Dataset Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") dataset_client = gas.create_dataset("") diff --git a/docs/code/branch.py b/docs/code/branch.py index c98c8ed3e..62af9f878 100644 --- a/docs/code/branch.py +++ b/docs/code/branch.py @@ -13,7 +13,7 @@ """Authorize a Dataset Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") dataset_client = gas.create_dataset("") dataset_client.create_draft("draft-1") diff --git a/docs/code/cache.py b/docs/code/cache.py index bb401cf41..750077282 100644 --- a/docs/code/cache.py +++ b/docs/code/cache.py @@ -17,7 +17,7 @@ from tensorbay import GAS from tensorbay.dataset import Dataset -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") dataset = Dataset("", gas) """""" diff --git a/docs/code/diff.py b/docs/code/diff.py index 775155821..9a6308a27 100644 --- a/docs/code/diff.py +++ b/docs/code/diff.py @@ -13,7 +13,7 @@ """Authorize a Dataset Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") dataset_client = gas.create_dataset("") dataset_client.create_draft("draft-1") diff --git a/docs/code/draft_and_commit.py b/docs/code/draft_and_commit.py index 78a5339b0..e505c0009 100644 --- a/docs/code/draft_and_commit.py +++ b/docs/code/draft_and_commit.py @@ -13,7 +13,7 @@ """Authorize a Dataset Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") dataset_client = gas.create_dataset("") """""" diff --git a/docs/code/merge_datasets.py b/docs/code/merge_datasets.py index 647add581..70be2ccc4 100644 --- a/docs/code/merge_datasets.py +++ b/docs/code/merge_datasets.py @@ -13,7 +13,7 @@ """Create Target Dataset""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") dataset_client = gas.create_dataset("mergedDataset") dataset_client.create_draft("merge dataset") diff --git a/docs/code/request_configuration.py b/docs/code/request_configuration.py index 35b50ca9f..09e2eb2d3 100644 --- a/docs/code/request_configuration.py +++ b/docs/code/request_configuration.py @@ -17,7 +17,7 @@ config.timeout = 40 config.max_retries = 4 -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") # The configs will apply to all the requests sent by TensorBay SDK. diff --git a/docs/code/search_result.py b/docs/code/search_result.py index e728d3b9b..6183f45b6 100644 --- a/docs/code/search_result.py +++ b/docs/code/search_result.py @@ -15,7 +15,7 @@ """Obtain a SearchResult Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") dataset_client = gas.get_dataset("") diff --git a/docs/code/sextant.py b/docs/code/sextant.py index 8b0f50b0b..c68002dc2 100644 --- a/docs/code/sextant.py +++ b/docs/code/sextant.py @@ -14,7 +14,7 @@ """Get sextant client""" from tensorbay.apps.sextant import Sextant -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. sextant = Sextant("") """""" @@ -29,7 +29,7 @@ """Create evaluation""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") dataset_client = gas.get_dataset("") dataset_client.checkout(revision="") diff --git a/docs/code/squash_and_merge.py b/docs/code/squash_and_merge.py index c34256638..bbb531628 100644 --- a/docs/code/squash_and_merge.py +++ b/docs/code/squash_and_merge.py @@ -15,7 +15,7 @@ """Authorize a Dataset Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") dataset_client = gas.create_dataset("") diff --git a/docs/code/storage_config.py b/docs/code/storage_config.py index e582c5112..40000c93a 100644 --- a/docs/code/storage_config.py +++ b/docs/code/storage_config.py @@ -12,7 +12,7 @@ """Get cloud client""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") cloud_client = gas.get_cloud_client("") """""" diff --git a/docs/code/tag.py b/docs/code/tag.py index 2301be445..e6d4d658e 100644 --- a/docs/code/tag.py +++ b/docs/code/tag.py @@ -14,7 +14,7 @@ """Authorize a Dataset Client Instance""" from tensorbay import GAS -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") dataset_client = gas.create_dataset("") dataset_client.create_draft("draft-1") diff --git a/docs/code/update_dataset.py b/docs/code/update_dataset.py index 5a20ac2bb..2b13af7b7 100644 --- a/docs/code/update_dataset.py +++ b/docs/code/update_dataset.py @@ -14,7 +14,7 @@ """Upload Images to the Dataset""" from tensorbay.dataset import Dataset -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") dataset = Dataset("") """""" diff --git a/docs/code/use_dataset_in_paddlepaddle.py b/docs/code/use_dataset_in_paddlepaddle.py index a72a6ff0b..81a6e2fb0 100644 --- a/docs/code/use_dataset_in_paddlepaddle.py +++ b/docs/code/use_dataset_in_paddlepaddle.py @@ -42,7 +42,7 @@ def __getitem__(self, idx): """Build a dataloader and run it""" -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. ACCESS_KEY = "" to_tensor = transforms.ToTensor() diff --git a/docs/code/use_dataset_in_pytorch.py b/docs/code/use_dataset_in_pytorch.py index 6fc9ed38c..f4c7c64d9 100644 --- a/docs/code/use_dataset_in_pytorch.py +++ b/docs/code/use_dataset_in_pytorch.py @@ -43,7 +43,7 @@ def __getitem__(self, idx): """Build a dataloader and run it""" -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. ACCESS_KEY = "" to_tensor = transforms.ToTensor() diff --git a/docs/code/use_dataset_in_tensorflow.py b/docs/code/use_dataset_in_tensorflow.py index 0818c136d..d7851e96a 100644 --- a/docs/code/use_dataset_in_tensorflow.py +++ b/docs/code/use_dataset_in_tensorflow.py @@ -49,7 +49,7 @@ def __call__(self): """Build a tensorflow dataset and run it""" -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. ACCESS_KEY = "" dataset = Dataset.from_generator( diff --git a/docs/code/use_internal_endpoint.py b/docs/code/use_internal_endpoint.py index 2df04fd04..1d457b407 100644 --- a/docs/code/use_internal_endpoint.py +++ b/docs/code/use_internal_endpoint.py @@ -18,7 +18,7 @@ # Set is_internal to True for using internal endpoint. config.is_internal = True -# Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. +# Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") # Organize the local dataset by the "Dataset" class before uploading. diff --git a/docs/source/advanced_features/fusion_dataset.rst b/docs/source/advanced_features/fusion_dataset.rst index b8a5fb640..e11c3e0ad 100644 --- a/docs/source/advanced_features/fusion_dataset.rst +++ b/docs/source/advanced_features/fusion_dataset.rst @@ -8,8 +8,8 @@ Fusion dataset represents datasets with data collected from multiple sensors. Typical examples of fusion dataset are some autonomous driving datasets, such as `nuScenes`_ and `KITTI-tracking`_. -.. _nuScenes: https://gas.graviti.cn/dataset/motional/nuScenes -.. _KITTI-tracking: https://gas.graviti.cn/dataset/data-decorators/KITTITracking +.. _nuScenes: https://gas.graviti.com/dataset/motional/nuScenes +.. _KITTI-tracking: https://gas.graviti.com/dataset/graviti/KITTITracking Fusion dataset is one of the topmost concept in TensorBay format. diff --git a/docs/source/advanced_features/storage_config.rst b/docs/source/advanced_features/storage_config.rst index b79274213..d9be05fef 100644 --- a/docs/source/advanced_features/storage_config.rst +++ b/docs/source/advanced_features/storage_config.rst @@ -20,7 +20,7 @@ In graviti storage mode, the data is stored in graviti storage space on TensorBa *************************** When using authorized storage config, datasets are stored on user's storage space and are only indexed to the TensorBay. -See `authorized storage instruction `_ for details about how to configure authorized storage on TensorBay. +See `authorized storage instruction `_ for details about how to configure authorized storage on TensorBay. TensorBay supports both authorize cloud storage and authorize local storage. @@ -105,7 +105,7 @@ TensorBay supports authorized local storage config. Before creating the local storage config via :func:`~tensorbay.client.gas.GAS.create_local_storage_config`, you need to start a local storage service. Please contact us on `TensorBay`_ for more information. -.. _TensorBay: https://www.graviti.cn/ +.. _TensorBay: https://gas.graviti.com/ .. literalinclude:: ../../../docs/code/storage_config.py :language: python diff --git a/docs/source/applications/sextant.rst b/docs/source/applications/sextant.rst index 17f9c07e1..0ed4928ea 100644 --- a/docs/source/applications/sextant.rst +++ b/docs/source/applications/sextant.rst @@ -6,7 +6,7 @@ ######### TensorBay SDK supports methods to interact with sextant application. -See `authorized storage instruction `_ for details about how to start. +See `authorized storage instruction `_ for details about how to start. Authorize a Sextant Instance ============================ @@ -80,4 +80,5 @@ The details of the result structure for the evaluation are as follows: .. note:: - Benchmark can only be created with `tensorbay website `_ now. + Benchmark can only be created with `tensorbay website `_ now. + diff --git a/docs/source/features/dataset_management.rst b/docs/source/features/dataset_management.rst index 6acf59b8c..62e889cfb 100644 --- a/docs/source/features/dataset_management.rst +++ b/docs/source/features/dataset_management.rst @@ -80,10 +80,10 @@ Two types of datasets can be read from TensorBay: Visit `my datasets(or team datasets)`_ panel of `TensorBay`_ platform to check all datasets that can be read. -.. _fork: https://docs.graviti.cn/guide/opendataset/fork -.. _Open Datasets: https://gas.graviti.cn/open-datasets -.. _my datasets(or team datasets): https://gas.graviti.cn/tensorbay/dataset-list -.. _TensorBay: https://gas.graviti.cn/tensorbay/ +.. _fork: https://docs.graviti.com/guide/opendataset/fork +.. _Open Datasets: https://gas.graviti.com/open-datasets +.. _my datasets(or team datasets): https://gas.graviti.com/tensorbay/dataset-list +.. _TensorBay: https://gas.graviti.com/tensorbay/ Take the :ref:`Read Dataset of BSTLD ` as an example. diff --git a/docs/source/features/version_control/getting_started_with_version_control.rst b/docs/source/features/version_control/getting_started_with_version_control.rst index 362b20575..c60242c35 100644 --- a/docs/source/features/version_control/getting_started_with_version_control.rst +++ b/docs/source/features/version_control/getting_started_with_version_control.rst @@ -10,7 +10,7 @@ Commit The basic element of TensorBay version control system is :ref:`reference/glossary:commit`. Each commit of a TensorBay dataset is a **read-only** version. -Take the `VersionControlDemo Dataset `_ as an example. +Take the `VersionControlDemo Dataset `_ as an example. .. _commit-demonstration: @@ -21,7 +21,7 @@ Take the `VersionControlDemo Dataset `_ platform, + "VersionControlDemo" is an open dataset on `Graviti Open Datasets `_ platform, Please fork it before running the following demo code. At the very beginning, there are only two commits in this dataset(:numref:`Fig. %s `). @@ -32,7 +32,7 @@ The code below checkouts to the first commit and check the data amount. from tensorbay import GAS from tensorbay.dataset import Dataset - # Please visit `https://gas.graviti.cn/tensorbay/developer` to get the AccessKey. + # Please visit `https://gas.graviti.com/tensorbay/developer` to get the AccessKey. gas = GAS("") commits = dataset_client.list_commits() diff --git a/docs/source/index.rst b/docs/source/index.rst index 0edc41855..c45cc8d55 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -13,7 +13,7 @@ This documentation describes :doc:`SDK ` and :doc:`CLI ` tools for using TensorBay. -.. _TensorBay: https://www.graviti.cn/ +.. _TensorBay: https://gas.graviti.com/ ############################ @@ -30,7 +30,7 @@ It provides: - A consistent :doc:`dataset structure ` to read and write datasets. -.. _OpenAPI: https://docs.graviti.cn/dev-doc/tools/api-center +.. _OpenAPI: https://docs.graviti.com/dev-doc/tools/api-center .. toctree:: diff --git a/docs/source/integrations/paddlepaddle.rst b/docs/source/integrations/paddlepaddle.rst index 5ba7cd92e..4a8becbe1 100644 --- a/docs/source/integrations/paddlepaddle.rst +++ b/docs/source/integrations/paddlepaddle.rst @@ -6,7 +6,7 @@ ############### This topic describes how to integrate TensorBay dataset with PaddlePaddle Pipeline -using the `DogsVsCats Dataset `_ as an example. +using the `DogsVsCats Dataset `_ as an example. The typical method to integrate TensorBay dataset with PaddlePaddle is to build a "Segment" class derived from ``paddle.io.Dataset``. diff --git a/docs/source/integrations/pytorch.rst b/docs/source/integrations/pytorch.rst index 4f914ae48..76c4735a1 100644 --- a/docs/source/integrations/pytorch.rst +++ b/docs/source/integrations/pytorch.rst @@ -6,7 +6,7 @@ ######### This topic describes how to integrate TensorBay dataset with PyTorch Pipeline -using the `MNIST Dataset `_ as an example. +using the `MNIST Dataset `_ as an example. The typical method to integrate TensorBay dataset with PyTorch is to build a "Segment" class derived from ``torch.utils.data.Dataset``. diff --git a/docs/source/integrations/tensorflow.rst b/docs/source/integrations/tensorflow.rst index f8cebd9b0..75ca7ad05 100644 --- a/docs/source/integrations/tensorflow.rst +++ b/docs/source/integrations/tensorflow.rst @@ -6,7 +6,7 @@ ############ This topic describes how to integrate TensorBay dataset with TensorFlow Pipeline -using the `MNIST Dataset `_ as an example. +using the `MNIST Dataset `_ as an example. The typical method to integrate TensorBay dataset with TensorFlow is to build a callable "Segment" class. diff --git a/docs/source/quick_start/examples/BSTLD.rst b/docs/source/quick_start/examples/BSTLD.rst index 03f0a1814..15facc338 100644 --- a/docs/source/quick_start/examples/BSTLD.rst +++ b/docs/source/quick_start/examples/BSTLD.rst @@ -5,7 +5,7 @@ BSTLD ######## -This topic describes how to manage the `BSTLD Dataset `_, +This topic describes how to manage the `BSTLD Dataset `_, which is a dataset with :doc:`/reference/label_format/Box2D` label(:numref:`Fig. %s `). .. _example-bstld: diff --git a/docs/source/quick_start/examples/CADC.rst b/docs/source/quick_start/examples/CADC.rst index 95f8c5d97..1b57a290f 100644 --- a/docs/source/quick_start/examples/CADC.rst +++ b/docs/source/quick_start/examples/CADC.rst @@ -10,7 +10,7 @@ This topic describes how to manage the "CADC" dataset. "CADC" is a fusion dataset with 8 :ref:`sensors` including 7 :class:`cameras` and 1 :class:`lidar` , and has :doc:`/reference/label_format/Box3D` type of labels on the point cloud data. (:numref:`Fig. %s `). -See `this page `_ for more details about this dataset. +See `this page `_ for more details about this dataset. .. _example-cadc: @@ -193,7 +193,7 @@ Please see :doc:`this page ` for more details a Commit operation can also be done on our GAS_ Platform. -.. _gas: https://www.graviti.cn/tensorBay +.. _gas: https://gas.graviti.com/tensorbay/ ********************* Read Fusion Dataset diff --git a/docs/source/quick_start/examples/DogsVsCats.rst b/docs/source/quick_start/examples/DogsVsCats.rst index 4907de025..54e9913fe 100644 --- a/docs/source/quick_start/examples/DogsVsCats.rst +++ b/docs/source/quick_start/examples/DogsVsCats.rst @@ -5,7 +5,7 @@ Dogs vs Cats ############## -This topic describes how to manage the `Dogs vs Cats Dataset `_, +This topic describes how to manage the `Dogs vs Cats Dataset `_, which is a dataset with :doc:`/reference/label_format/Classification` label. ***************************** diff --git a/docs/source/quick_start/examples/LeedsSportsPose.rst b/docs/source/quick_start/examples/LeedsSportsPose.rst index 4172ee1c7..d9bcbe012 100644 --- a/docs/source/quick_start/examples/LeedsSportsPose.rst +++ b/docs/source/quick_start/examples/LeedsSportsPose.rst @@ -5,7 +5,7 @@ Leeds Sports Pose ################### -This topic describes how to manage the `Leeds Sports Pose Dataset `_, +This topic describes how to manage the `Leeds Sports Pose Dataset `_, which is a dataset with :doc:`/reference/label_format/Keypoints2D` label(:numref:`Fig. %s `). .. _example-leedssportspose: diff --git a/docs/source/quick_start/examples/Newsgroups20.rst b/docs/source/quick_start/examples/Newsgroups20.rst index cf32aa4ea..745b8b13a 100644 --- a/docs/source/quick_start/examples/Newsgroups20.rst +++ b/docs/source/quick_start/examples/Newsgroups20.rst @@ -8,7 +8,7 @@ This topic describes how to manage the `20 Newsgroups dataset`_, which is a dataset with :doc:`/reference/label_format/Classification` label type. -.. _20 Newsgroups dataset: https://gas.graviti.cn/dataset/data-decorators/Newsgroups20 +.. _20 Newsgroups dataset: https://gas.graviti.com/dataset/graviti/Newsgroups20 ***************************** Authorize a Client Instance diff --git a/docs/source/quick_start/examples/THCHS30.rst b/docs/source/quick_start/examples/THCHS30.rst index afd6512f9..09cd2a6e6 100644 --- a/docs/source/quick_start/examples/THCHS30.rst +++ b/docs/source/quick_start/examples/THCHS30.rst @@ -8,7 +8,7 @@ This topic describes how to manage the `THCHS-30 Dataset`_, which is a dataset with :doc:`/reference/label_format/Sentence` label -.. _THCHS-30 Dataset: https://www.graviti.com/open-datasets/data-decorators/THCHS30 +.. _THCHS-30 Dataset: https://gas.graviti.com/dataset/hellodataset/THCHS-30 ***************************** Authorize a Client Instance diff --git a/docs/source/quick_start/examples/VOC2012Segmentation.rst b/docs/source/quick_start/examples/VOC2012Segmentation.rst index 6f3311c50..5dd30b301 100644 --- a/docs/source/quick_start/examples/VOC2012Segmentation.rst +++ b/docs/source/quick_start/examples/VOC2012Segmentation.rst @@ -10,7 +10,7 @@ which is a dataset with :doc:`/reference/label_format/SemanticMask` and :doc:`/reference/label_format/InstanceMask` labels (:numref:`Fig. %s ` and :numref:`Fig. %s `). -.. _VOC2012 Segmentation dataset: https://gas.graviti.cn/dataset/hello-dataset/VOC2012Segmentation +.. _VOC2012 Segmentation dataset: https://gas.graviti.com/dataset/graviti/VOC2012Segmentation .. _example-semantic-mask: diff --git a/docs/source/quick_start/examples/merge_datasets.rst b/docs/source/quick_start/examples/merge_datasets.rst index 85c6f81ba..29ea45618 100644 --- a/docs/source/quick_start/examples/merge_datasets.rst +++ b/docs/source/quick_start/examples/merge_datasets.rst @@ -7,8 +7,8 @@ This topic describes the merge dataset operation. -Take the `Oxford-IIIT Pet `_ -and `Dogs vs Cats `_ +Take the `Oxford-IIIT Pet `_ +and `Dogs vs Cats `_ as examples. Their structures looks like:: Oxford-IIIT Pet/ diff --git a/docs/source/quick_start/examples/move_and_copy.rst b/docs/source/quick_start/examples/move_and_copy.rst index 40d4f04ff..903529448 100644 --- a/docs/source/quick_start/examples/move_and_copy.rst +++ b/docs/source/quick_start/examples/move_and_copy.rst @@ -12,7 +12,7 @@ This topic describes TensorBay dataset operations: - :ref:`quick_start/examples/move_and_copy:Copy Data` - :ref:`quick_start/examples/move_and_copy:Move Data` -Take the `Oxford-IIIT Pet `_ +Take the `Oxford-IIIT Pet `_ as an example. Its structure looks like:: datasets/ @@ -26,7 +26,7 @@ as an example. Its structure looks like:: .. note:: Before operating this dataset, - `fork `_ it first. + `fork `_ it first. Get the dataset client. diff --git a/docs/source/quick_start/getting_started_with_tensorbay.rst b/docs/source/quick_start/getting_started_with_tensorbay.rst index 49953f8a6..018ea7d3c 100644 --- a/docs/source/quick_start/getting_started_with_tensorbay.rst +++ b/docs/source/quick_start/getting_started_with_tensorbay.rst @@ -30,8 +30,8 @@ Before using TensorBay SDK, please finish the following registration steps: - Please visit `Graviti AI Service(GAS)`_ to sign up. - Please visit `Graviti Developer Tools`_ to get an AccessKey. -.. _graviti ai service(gas): https://gas.graviti.cn/tensorbay/ -.. _Graviti Developer Tools: https://gas.graviti.cn/tensorbay/developer +.. _graviti ai service(gas): https://gas.graviti.com/tensorbay/ +.. _Graviti Developer Tools: https://gas.graviti.com/tensorbay/developer .. note:: An AccessKey is needed to authenticate identity when using TensorBay via SDK or CLI. diff --git a/docs/source/reference/dataset_structure.rst b/docs/source/reference/dataset_structure.rst index bd8160dd8..f2ca6cd63 100644 --- a/docs/source/reference/dataset_structure.rst +++ b/docs/source/reference/dataset_structure.rst @@ -82,15 +82,15 @@ Here are some catalog examples of datasets with different label types and a data | which is a dataset with tracking :doc:`/reference/label_format/Box2D` label. .. _elpv Catalog: https://github.com/Graviti-AI/tensorbay-python-sdk/blob/main/tensorbay/opendataset/Elpv/catalog.json -.. _elpv Dataset: https://gas.graviti.cn/dataset/data-decorators/Elpv +.. _elpv Dataset: https://gas.graviti.com/dataset/graviti/Elpv .. _BSTLD Catalog: https://github.com/Graviti-AI/tensorbay-python-sdk/blob/main/tensorbay/opendataset/BSTLD/catalog.json -.. _BSTLD Dataset: https://gas.graviti.cn/dataset/data-decorators/BSTLD +.. _BSTLD Dataset: https://gas.graviti.com/dataset/graviti/BSTLD .. _Neolix OD Catalog: https://github.com/Graviti-AI/tensorbay-python-sdk/blob/main/tensorbay/opendataset/NeolixOD/catalog.json .. _Neolix OD Dataset: https://gas.graviti.cn/dataset/graviti-open-dataset/NeolixOD .. _Leeds Sports Pose Catalog: https://github.com/Graviti-AI/tensorbay-python-sdk/blob/main/tensorbay/opendataset/LeedsSportsPose/catalog.json -.. _Leeds Sports Pose Dataset: https://gas.graviti.cn/dataset/data-decorators/LeedsSportsPose +.. _Leeds Sports Pose Dataset: https://gas.graviti.com/dataset/graviti/LeedsSportsPose .. _NightOwls Catalog: https://github.com/Graviti-AI/tensorbay-python-sdk/blob/main/tensorbay/opendataset/NightOwls/catalog.json -.. _NightOwls Dataset: https://gas.graviti.cn/dataset/hello-dataset/NightOwls +.. _NightOwls Dataset: https://gas.graviti.com/dataset/graviti/NightOwls Note that catalog is not needed if there is no label information in a dataset. diff --git a/docs/source/reference/glossary.rst b/docs/source/reference/glossary.rst index c814e6f0b..443df44ff 100644 --- a/docs/source/reference/glossary.rst +++ b/docs/source/reference/glossary.rst @@ -11,9 +11,9 @@ accesskey An accesskey is an access credential for identification when using TensorBay to operate on your dataset. To obtain an accesskey, log in to `Graviti AI Service(GAS)`_ and -visit the `developer page `_ to create one. +visit the `developer page `_ to create one. -.. _graviti ai service(gas): https://www.graviti.cn/tensorBay +.. _graviti ai service(gas): https://gas.graviti.com/tensorbay/ For the usage of accesskey via Tensorbay SDK or CLI, please see :ref:`SDK authorization ` @@ -103,15 +103,15 @@ Here are some dataloader examples of datasets with different label types and con ================================ ============================================================================================ .. _Dogs vs Cats Dataloader: https://github.com/Graviti-AI/tensorbay-python-sdk/blob/main/tensorbay/opendataset/DogsVsCats/loader.py -.. _Dogs vs Cats Dataset: https://gas.graviti.cn/dataset/data-decorators/DogsVsCats +.. _Dogs vs Cats Dataset: https://gas.graviti.com/dataset/graviti/DogsVsCats .. _BSTLD Dataloader: https://github.com/Graviti-AI/tensorbay-python-sdk/blob/main/tensorbay/opendataset/BSTLD/loader.py -.. _BSTLD Dataset: https://gas.graviti.cn/dataset/data-decorators/BSTLD +.. _BSTLD Dataset: https://gas.graviti.com/dataset/graviti/BSTLD .. _Neolix OD Dataloader: https://github.com/Graviti-AI/tensorbay-python-sdk/blob/main/tensorbay/opendataset/NeolixOD/loader.py .. _Neolix OD Dataset: https://gas.graviti.cn/dataset/graviti-open-dataset/NeolixOD .. _Leeds Sports Pose Daraloader: https://github.com/Graviti-AI/tensorbay-python-sdk/blob/main/tensorbay/opendataset/LeedsSportsPose/loader.py -.. _Leeds Sports Pose Dataset: https://gas.graviti.cn/dataset/data-decorators/LeedsSportsPose +.. _Leeds Sports Pose Dataset: https://gas.graviti.com/dataset/graviti/LeedsSportsPose .. _LISA Traffic Light Dataloader: https://github.com/Graviti-AI/tensorbay-python-sdk/blob/main/tensorbay/opendataset/LISATrafficLight/loader.py -.. _LISA Traffic Light Dataset: https://gas.graviti.cn/dataset/hello-dataset/LISATrafficLight +.. _LISA Traffic Light Dataset: https://gas.graviti.com/dataset/graviti/LISATrafficLight .. note:: @@ -121,7 +121,7 @@ Here are some dataloader examples of datasets with different label types and con Take `Dogs vs Cats`_ dataset as an example, the name of its dataloader function is :meth:`~tensorbay.opendataset.DogsVsCats.loader.DogsVsCats`. - .. _dogs vs cats: https://gas.graviti.cn/dataset/data-decorators/DogsVsCats + .. _dogs vs cats: https://gas.graviti.com/dataset/graviti/DogsVsCats See more dataloader examples in :ref:`reference/api/opendataset:tensorbay.opendataset`. diff --git a/docs/source/tensorbay_cli/getting_started_with_cli.rst b/docs/source/tensorbay_cli/getting_started_with_cli.rst index 65f550dd6..d8791f8fd 100644 --- a/docs/source/tensorbay_cli/getting_started_with_cli.rst +++ b/docs/source/tensorbay_cli/getting_started_with_cli.rst @@ -31,7 +31,7 @@ To use TensorBay CLI, please install TensorBay SDK first. An accessKey_ is used for identification when using TensorBay to operate datasets. -.. _accesskey: https://gas.graviti.cn/tensorbay/developer +.. _accesskey: https://gas.graviti.com/tensorbay/developer Set the accessKey into configuration: