TensorBay Resource Name
TensorBay Resource Name(TBRN) uniquely identifies the resource stored in TensorBay.
All TBRN begins with tb:
.
tb:<dataset_name>
For example, the following TBRN means the dataset “VOC2012”.
tb:VOC2012
tb:<dataset_name>:<segment_name>
For example, the following TBRN means the “train” segment of dataset “VOC2012”.
tb:VOC2010:train
tb:<dataset_name>:<segment_name>://<remote_path>
For example, the following TBRN means the file “2012_004330.jpg” under “train” segment in dataset “VOC2012”.
tb:VOC2012:train://2012_004330.jpg
TBRN With Version Info
The version information can also be included in the TBRN when using version control feature.
A TBRN can include revision info in the following format:
tb:<dataset_name>@<revision>[:<segment_name>][://<remote_path>]
For example, the following TBRN means the main branch of dataset “VOC2012”.
tb:VOC2010@main
A TBRN can include draft info in the following format:
tb:<dataset_name>#<draft_number>[:<segment_name>][://<remote_path>]
For example, the following TBRN means the 1st draft of dataset “VOC2012”.
tb:VOC2012#1
Note that if neither revision nor draft number is given, a TBRN will refer to the default branch.