doc-exports/docs/modelarts/umn/dataprepare-modelarts-0015.html
Lai, Weijian 6aa966a79a ModelArts UMN 24.3.0 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lai, Weijian <laiweijian4@huawei.com>
Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
2024-11-02 09:04:52 +00:00

1094 lines
111 KiB
HTML

<a name="EN-US_TOPIC_0000002043025324"></a><a name="EN-US_TOPIC_0000002043025324"></a>
<h1 class="topictitle1">Specifications for Importing a Manifest File</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p2917152392710">The manifest file defines the mapping between labeled objects and content. The manifest file import mode means that the manifest file is used for dataset import. The manifest file can be imported from OBS. When importing a manifest file from OBS, ensure that you have the permissions to access the directory where the manifest file is stored.</p>
<div class="note" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_note1853313257157"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p653482511514">There are many requirements on the manifest file compilation. Import new data from OBS. Generally, manifest file import is used for data migration of ModelArts in different regions or using different accounts. If you have labeled data in a region using ModelArts, you can obtain the manifest file of the published dataset from the output path. Then you can import the dataset using the manifest file to ModelArts of other regions or accounts. The imported data carries the labeling information and does not need to be labeled again, improving development efficiency.</p>
</div></div>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p16586066176">The manifest file that contains information about the original file and labeling can be used in labeling, training, and inference scenarios. The manifest file that contains only information about the original file can be used in inference scenarios or used to generate an unlabeled dataset. The manifest file must meet the following requirements:</p>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul563192481519"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li3631245155">The manifest file uses the UTF-8 encoding format. </li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li22135270173">The manifest file uses the JSON Lines format (<strong id="EN-US_TOPIC_0000002043025324__b132459772492842">jsonlines.org</strong>). A line contains one JSON object.<pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen1088413911713">{"source": "/path/to/image1.jpg", "annotation": ... }
{"source": "/path/to/image2.jpg", "annotation": ... }
{"source": "/path/to/image3.jpg", "annotation": ... }</pre>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1220714631812">In the preceding example, the manifest file contains multiple lines of JSON object.</p>
</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li8895852191819">The manifest file can be generated by you, third-party tools, or ModelArts Data Labeling. The file name can be any valid file name. To facilitate the internal use of the ModelArts system, the file name generated by the ModelArts data labeling function consists of the following strings: <span class="parmname" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmname152884316202"><b>DatasetName-VersionName.manifest</b></span>. For example, <strong id="EN-US_TOPIC_0000002043025324__b165758329492842">animal-v201901231130304123.manifest</strong>.</li></ul>
<div class="section" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section260132417144"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section260132417144"></a><a name="en-us_topic_0000001148092878_section260132417144"></a><h4 class="sectiontitle">Image Classification</h4><div class="codecoloring" codetype="Xml" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen17860136182212"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal"> 1</span>
<span class="normal"> 2</span>
<span class="normal"> 3</span>
<span class="normal"> 4</span>
<span class="normal"> 5</span>
<span class="normal"> 6</span>
<span class="normal"> 7</span>
<span class="normal"> 8</span>
<span class="normal"> 9</span>
<span class="normal">10</span>
<span class="normal">11</span>
<span class="normal">12</span>
<span class="normal">13</span>
<span class="normal">14</span>
<span class="normal">15</span>
<span class="normal">16</span>
<span class="normal">17</span>
<span class="normal">18</span>
<span class="normal">19</span>
<span class="normal">20</span>
<span class="normal">21</span>
<span class="normal">22</span>
<span class="normal">23</span>
<span class="normal">24</span>
<span class="normal">25</span>
<span class="normal">26</span>
<span class="normal">27</span>
<span class="normal">28</span></pre></div></td><td class="code"><div><pre><span></span>{
<span class="w"> </span>&quot;source&quot;:&quot;s3://path/to/image1.jpg&quot;,
<span class="w"> </span>&quot;usage&quot;:&quot;TRAIN&quot;,
<span class="w"> </span>&quot;hard&quot;:&quot;true&quot;,
<span class="w"> </span>&quot;hard-coefficient&quot;:0.8,
<span class="w"> </span>&quot;id&quot;:&quot;0162005993f8065ef47eefb59d1e4970&quot;,
<span class="w"> </span>&quot;annotation&quot;:<span class="w"> </span>[
<span class="w"> </span>{
<span class="w"> </span>&quot;type&quot;:<span class="w"> </span>&quot;modelarts/image_classification&quot;,
<span class="w"> </span>&quot;name&quot;:<span class="w"> </span>&quot;cat&quot;,
<span class="w"> </span>&quot;property&quot;:<span class="w"> </span>{
<span class="w"> </span>&quot;color&quot;:&quot;white&quot;,
<span class="w"> </span>&quot;kind&quot;:&quot;Persian<span class="w"> </span>cat&quot;<span class="w"> </span>
<span class="w"> </span>},
<span class="w"> </span>&quot;hard&quot;:&quot;true&quot;,
<span class="w"> </span>&quot;hard-coefficient&quot;:0.8,
<span class="w"> </span>&quot;annotated-by&quot;:&quot;human&quot;,
<span class="w"> </span>&quot;creation-time&quot;:&quot;2019-01-23<span class="w"> </span>11:30:30&quot;<span class="w"> </span>
<span class="w"> </span>},
<span class="w"> </span>{
<span class="w"> </span>&quot;type&quot;:<span class="w"> </span>&quot;modelarts/image_classification&quot;,
<span class="w"> </span>&quot;name&quot;:&quot;animal&quot;,
<span class="w"> </span>&quot;annotated-by&quot;:&quot;modelarts/active-learning&quot;,
<span class="w"> </span>&quot;confidence&quot;:<span class="w"> </span>0.8,
<span class="w"> </span>&quot;creation-time&quot;:&quot;2019-01-23<span class="w"> </span>11:30:30&quot;<span class="w"> </span>
<span class="w"> </span>}],
<span class="w"> </span>&quot;inference-loc&quot;:&quot;/path/to/inference-output&quot;
}
</pre></div></td></tr></table></div>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table598984218223"></a><a name="en-us_topic_0000001148092878_table598984218223"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table598984218223" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row8990542102214"><th align="left" class="cellrowborder" valign="top" width="20.669999999999998%" id="mcps1.3.5.3.2.4.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p199901342142215">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.389999999999999%" id="mcps1.3.5.3.2.4.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p4522982412">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="66.94%" id="mcps1.3.5.3.2.4.1.3"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p799014426226">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row17990194217227"><td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1199018428221">source</p>
</td>
<td class="cellrowborder" valign="top" width="12.389999999999999%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1951629182412">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="66.94%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p199906424227">URI of an object to be labeled. For details about data source types and examples, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table9303122642318">Table 2</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row499019426228"><td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1999064282214">usage</p>
</td>
<td class="cellrowborder" valign="top" width="12.389999999999999%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p16532913240">No</p>
</td>
<td class="cellrowborder" valign="top" width="66.94%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1892121372516">By default, the parameter value is left blank. Possible values are as follows:</p>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul2030152722610"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li83011127172610"><strong id="EN-US_TOPIC_0000002043025324__b32777885892842">TRAIN</strong>: The object is used for training.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li43011827162617"><strong id="EN-US_TOPIC_0000002043025324__b156008567392842">EVAL</strong>: The object is used for evaluation.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li14301152720267"><strong id="EN-US_TOPIC_0000002043025324__b161990680192842">TEST</strong>: The object is used for testing.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li1230192712262"><strong id="EN-US_TOPIC_0000002043025324__b122023083792842">INFERENCE</strong>: The object is used for inference.</li></ul>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p326411492619">If the parameter value is left blank, you decide how to use the object.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row2086310114398"><td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p168659118391">id</p>
</td>
<td class="cellrowborder" valign="top" width="12.389999999999999%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p6865911398">No</p>
</td>
<td class="cellrowborder" valign="top" width="66.94%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p786561203911">Sample ID exported from the system. You do not need to set this parameter when importing the sample.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row19990184213229"><td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p17990124215223">annotation</p>
</td>
<td class="cellrowborder" valign="top" width="12.389999999999999%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p145929132410">No</p>
</td>
<td class="cellrowborder" valign="top" width="66.94%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p146559504260">If the parameter value is left blank, the object is not labeled. The value of <strong id="EN-US_TOPIC_0000002043025324__b14236686492842">annotation</strong> consists of an object list. For details about the parameters, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table48141825192716">Table 3</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row13990194212227"><td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p15990194222210">inference-loc</p>
</td>
<td class="cellrowborder" valign="top" width="12.389999999999999%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p136162952419">No</p>
</td>
<td class="cellrowborder" valign="top" width="66.94%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p399054216229">This parameter is available when the file is generated by the inference service, indicating the location of the inference result file.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table9303122642318"></a><a name="en-us_topic_0000001148092878_table9303122642318"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table9303122642318" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Data source types</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1342326142319"><th align="left" class="cellrowborder" valign="top" width="35.36%" id="mcps1.3.5.4.2.3.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p13421526182311"><strong id="EN-US_TOPIC_0000002043025324__b194750269492842">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="64.64%" id="mcps1.3.5.4.2.3.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p134252616235">Example</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row193428267235"><td class="cellrowborder" valign="top" width="35.36%" headers="mcps1.3.5.4.2.3.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p153425266233">OBS</p>
</td>
<td class="cellrowborder" valign="top" width="64.64%" headers="mcps1.3.5.4.2.3.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1034212611233">"source":"s3://path-to-jpg"</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row20342162622318"><td class="cellrowborder" valign="top" width="35.36%" headers="mcps1.3.5.4.2.3.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p13421262238">Content</p>
</td>
<td class="cellrowborder" valign="top" width="64.64%" headers="mcps1.3.5.4.2.3.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p183433260237">"source":"content://I love machine learning"</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table48141825192716"></a><a name="en-us_topic_0000001148092878_table48141825192716"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table48141825192716" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0000002043025324__b210443584792842">annotation</strong> objects</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1981482542717"><th align="left" class="cellrowborder" valign="top" width="20.5%" id="mcps1.3.5.5.2.4.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1981582562715">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.73%" id="mcps1.3.5.5.2.4.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p948925314270">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="65.77%" id="mcps1.3.5.5.2.4.1.3"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p28151325182714">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row138159258276"><td class="cellrowborder" valign="top" width="20.5%" headers="mcps1.3.5.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1881572512270">type</p>
</td>
<td class="cellrowborder" valign="top" width="13.73%" headers="mcps1.3.5.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p17489155313277">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="65.77%" headers="mcps1.3.5.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p15815162519271">Label type. Possible values are as follows:</p>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul1563483682816"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li263413367282"><strong id="EN-US_TOPIC_0000002043025324__b181073610292842">image_classification</strong>: image classification</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li16634133672817"><strong id="EN-US_TOPIC_0000002043025324__b93202934492842">text_classification</strong>: text classification</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li063419363283"><strong id="EN-US_TOPIC_0000002043025324__b12628323992842">text_entity</strong>: named entity recognition</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li10634103616288"><strong id="EN-US_TOPIC_0000002043025324__b206561038092842">object_detection</strong>: object detection</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li463413672812"><strong id="EN-US_TOPIC_0000002043025324__b89762255792842">audio_classification</strong>: sound classification</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li14634236142816"><strong id="EN-US_TOPIC_0000002043025324__b104372015992842">audio_content</strong>: speech labeling</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li7635173614286"><strong id="EN-US_TOPIC_0000002043025324__b137176555092842">audio_segmentation</strong>: speech paragraph labeling</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row3815182513278"><td class="cellrowborder" valign="top" width="20.5%" headers="mcps1.3.5.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1581552592713">name</p>
</td>
<td class="cellrowborder" valign="top" width="13.73%" headers="mcps1.3.5.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p448920536274">Yes/No</p>
</td>
<td class="cellrowborder" valign="top" width="65.77%" headers="mcps1.3.5.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p18151725132712">This parameter is mandatory for the classification type but optional for other types. This example uses the image classification type.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1049816494116"><td class="cellrowborder" valign="top" width="20.5%" headers="mcps1.3.5.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p5498949121119">id</p>
</td>
<td class="cellrowborder" valign="top" width="13.73%" headers="mcps1.3.5.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p9498154914118">Yes/No</p>
</td>
<td class="cellrowborder" valign="top" width="65.77%" headers="mcps1.3.5.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p20498124951113">Label ID. This parameter is mandatory for triplets but optional for other types. The entity label ID of a triplet is in <strong id="EN-US_TOPIC_0000002043025324__b107768737592842">E+number</strong> format, for example, <strong id="EN-US_TOPIC_0000002043025324__b69079115292842">E1</strong> and <strong id="EN-US_TOPIC_0000002043025324__b188281276792842">E2</strong>. The relationship label ID of a triplet is in <strong id="EN-US_TOPIC_0000002043025324__b158320412692842">R+number</strong> format, for example, <strong id="EN-US_TOPIC_0000002043025324__b214552546292842">R1</strong> and <strong id="EN-US_TOPIC_0000002043025324__b85701656892842">R2</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row138151425132716"><td class="cellrowborder" valign="top" width="20.5%" headers="mcps1.3.5.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1981532515275">property</p>
</td>
<td class="cellrowborder" valign="top" width="13.73%" headers="mcps1.3.5.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p17489153192714">No</p>
</td>
<td class="cellrowborder" valign="top" width="65.77%" headers="mcps1.3.5.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p186261048192918">Labeling property. In this example, there are two properties: color and kind.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1881515255277"><td class="cellrowborder" valign="top" width="20.5%" headers="mcps1.3.5.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p48153254274">hard</p>
</td>
<td class="cellrowborder" valign="top" width="13.73%" headers="mcps1.3.5.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1448915319279">No</p>
</td>
<td class="cellrowborder" valign="top" width="65.77%" headers="mcps1.3.5.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p16815122510274">Indicates whether the example is a hard example. <strong id="EN-US_TOPIC_0000002043025324__b211430024892842">True</strong> indicates that the labeling example is a hard example, and <strong id="EN-US_TOPIC_0000002043025324__b18353478592842">False</strong> indicates that the labeling example is not a hard example.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1381512253274"><td class="cellrowborder" valign="top" width="20.5%" headers="mcps1.3.5.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p881572512715">annotated-by</p>
</td>
<td class="cellrowborder" valign="top" width="13.73%" headers="mcps1.3.5.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p64891653102712">No</p>
</td>
<td class="cellrowborder" valign="top" width="65.77%" headers="mcps1.3.5.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p293361613213">The default value is <strong id="EN-US_TOPIC_0000002043025324__b202975203092842">human</strong>, indicating manual labeling. </p>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul20531920193215"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li7242023103217">human</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1581692512715"><td class="cellrowborder" valign="top" width="20.5%" headers="mcps1.3.5.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p681611253279">creation-time</p>
</td>
<td class="cellrowborder" valign="top" width="13.73%" headers="mcps1.3.5.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p124891753202711">No</p>
</td>
<td class="cellrowborder" valign="top" width="65.77%" headers="mcps1.3.5.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p48169253271">Time when the labeling job was created. It is the time when labeling information was written, not the time when the manifest file was generated.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row4816825122716"><td class="cellrowborder" valign="top" width="20.5%" headers="mcps1.3.5.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1081602572716">confidence</p>
</td>
<td class="cellrowborder" valign="top" width="13.73%" headers="mcps1.3.5.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1048955382710">No</p>
</td>
<td class="cellrowborder" valign="top" width="65.77%" headers="mcps1.3.5.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p5816102511278">Confidence score of machine labeling. The value ranges from 0 to 1.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section6459163044216"><h4 class="sectiontitle">Image Segmentation</h4><pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen616131911310">{
"annotation": [{
"annotation-format": "PASCAL VOC",
"type": "modelarts/image_segmentation",
"annotation-loc": "s3://path/to/annotation/image1.xml",
"creation-time": "2020-12-16 21:36:27",
"annotated-by": "human"
}],
"usage": "train",
"source": "s3://path/to/image1.jpg",
"id": "16d196c19bf61994d7deccafa435398c",
"sample-type": 0
}</pre>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul416151910131"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li13165196131">The parameters such as <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname101578598892842"><b>source</b></span>, <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname37470347292842"><b>usage</b></span>, and <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname59798295992842"><b>annotation</b></span> are the same as those described in <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section260132417144">Image Classification</a>. For details, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table598984218223">Table 1</a>.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li4163197132"><span class="parmname" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmname1216161918132"><b>annotation-loc</b></span> indicates the path for saving the label file. This parameter is mandatory for image segmentation and object detection but optional for other labeling types.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li3169192136"><span class="parmname" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmname21691915132"><b>annotation-format</b></span> indicates the format of the label file. This parameter is optional. The default value is <span class="parmvalue" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmvalue21615193136"><b>PASCAL VOC</b></span>. Only <span class="parmvalue" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmvalue61661931318"><b>PASCAL VOC</b></span> is supported.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li877412052318"><strong id="EN-US_TOPIC_0000002043025324__b131968271292842">sample-type</strong> indicates a sample format. Value <strong id="EN-US_TOPIC_0000002043025324__b108931713292842">0</strong> indicates image, <strong id="EN-US_TOPIC_0000002043025324__b189698873392842">1</strong> text, <strong id="EN-US_TOPIC_0000002043025324__b127615435892842">2</strong> audio, <strong id="EN-US_TOPIC_0000002043025324__b115160855892842">4</strong> table, and <strong id="EN-US_TOPIC_0000002043025324__b176450835192842">6</strong> video.</li></ul>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table1516151991311"></a><a name="en-us_topic_0000001148092878_table1516151991311"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table1516151991311" frame="border" border="1" rules="all"><caption><b>Table 4 </b>PASCAL VOC format parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row21641971318"><th align="left" class="cellrowborder" valign="top" width="20.64793520647935%" id="mcps1.3.6.4.2.4.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p216101910134">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.228877112288771%" id="mcps1.3.6.4.2.4.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p81611981320">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="68.12318768123188%" id="mcps1.3.6.4.2.4.1.3"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1817019201312">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row817161914137"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.6.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p91720193134">folder</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.6.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1717119181320">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.6.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p181731931315">Directory where the data source is located</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row91791921311"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.6.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p191741915135">filename</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.6.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p917171920136">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.6.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p51717196130">Name of the file to be labeled</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row181715199137"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.6.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p131721917139">size</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.6.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p11731911134">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.6.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p81771911311">Image pixel</p>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul1517191931316"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li317619141314"><strong id="EN-US_TOPIC_0000002043025324__b174373825992842">width</strong>: image width. This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li20175196134"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname188359693392842"><b>height</b></span>: image height. This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li11721910137"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname142454517792842"><b>depth</b></span>: number of image channels. This parameter is mandatory.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row8171519171312"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.6.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p151721951317">segmented</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.6.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p21713195136">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.6.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p11718192138">Segmented or not</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row149064313311"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.6.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1590693103110">mask_source</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.6.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1990620343117">No</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.6.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1906143183119">Segmentation mask path</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row81715191130"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.6.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p91741981311">object</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.6.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p41771911316">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.6.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p217181910139">Object detection information. Multiple <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname170866844792842"><b>object{}</b></span> functions are generated for multiple objects.</p>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul2017191919137"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li1217101915132"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname139831011192842"><b>name</b></span>: type of the labeled content. This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li21720192134"><strong id="EN-US_TOPIC_0000002043025324__b28307796992842">pose</strong>: shooting angle of the labeled content. This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li41712195136"><strong id="EN-US_TOPIC_0000002043025324__b33527098892842">truncated</strong>: whether the labeled content is truncated (<strong id="EN-US_TOPIC_0000002043025324__b34045723292842">0</strong> indicates that the content is not truncated). This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li1717181913134"><strong id="EN-US_TOPIC_0000002043025324__b123170171492842">occluded</strong>: whether the labeled content is occluded (<strong id="EN-US_TOPIC_0000002043025324__b36862675092842">0</strong> indicates that the content is not occluded). This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li1917181941317"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname79958383892842"><b>difficult</b></span>: whether the labeled object is difficult to identify (<span class="parmvalue" id="EN-US_TOPIC_0000002043025324__parmvalue39728544792842"><b>0</b></span> indicates that the object is easy to identify). This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li16171619131312"><strong id="EN-US_TOPIC_0000002043025324__b184230396692842">confidence</strong>: confidence score of the labeled object. The value ranges from 0 to 1. This parameter is optional.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li16171919161317"><strong id="EN-US_TOPIC_0000002043025324__b41207472592842">bndbox</strong>: bounding box type. This parameter is mandatory. For details about the possible values, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table181711917139">Table 5</a>.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li218851313293"><strong id="EN-US_TOPIC_0000002043025324__b43397759292842">mask_color</strong>: label color, which is represented by the RGB value. This parameter is mandatory.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table181711917139"></a><a name="en-us_topic_0000001148092878_table181711917139"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table181711917139" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Bounding box types</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1918121981317"><th align="left" class="cellrowborder" valign="top" width="23.077692230776922%" id="mcps1.3.6.5.2.4.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p2188195138">type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.557644235576443%" id="mcps1.3.6.5.2.4.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p118151961317">Shape</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.36466353364663%" id="mcps1.3.6.5.2.4.1.3"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p151813192138">Labeling information</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row918171941318"><td class="cellrowborder" valign="top" width="23.077692230776922%" headers="mcps1.3.6.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p418201919135">polygon</p>
</td>
<td class="cellrowborder" valign="top" width="23.557644235576443%" headers="mcps1.3.6.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p51881915131">Polygon</p>
</td>
<td class="cellrowborder" valign="top" width="53.36466353364663%" headers="mcps1.3.6.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p518131911310">Coordinates of points</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p418419131319">&lt;x1&gt;100&lt;x1&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p21820191131">&lt;y1&gt;100&lt;y1&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p9181819191320">&lt;x2&gt;200&lt;x2&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p11811961316">&lt;y2&gt;100&lt;y2&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p91821911132">&lt;x3&gt;250&lt;x3&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p11821961314">&lt;y3&gt;150&lt;y3&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p20181197138">&lt;x4&gt;200&lt;x4&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1418119191315">&lt;y4&gt;200&lt;y4&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p151891991315">&lt;x5&gt;100&lt;x5&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p81818195132">&lt;y5&gt;200&lt;y5&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p618181971313">&lt;x6&gt;50&lt;x6&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p21812190137">&lt;y6&gt;150&lt;y6&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p757112315400">&lt;x7&gt;100&lt;x7&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p165711231204010">&lt;y7&gt;100&lt;y7&gt;</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="p" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1192019141314">Example:<pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen111941910133">&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
&lt;annotation&gt;
&lt;folder&gt;NA&lt;/folder&gt;
&lt;filename&gt;image_0006.jpg&lt;/filename&gt;
&lt;source&gt;
&lt;database&gt;Unknown&lt;/database&gt;
&lt;/source&gt;
&lt;size&gt;
&lt;width&gt;230&lt;/width&gt;
&lt;height&gt;300&lt;/height&gt;
&lt;depth&gt;3&lt;/depth&gt;
&lt;/size&gt;
&lt;segmented&gt;1&lt;/segmented&gt;
&lt;mask_source&gt;obs://xianao/out/dataset-8153-Jmf5ylLjRmSacj9KevS/annotation/V001/segmentationClassRaw/image_0006.png&lt;/mask_source&gt;
&lt;object&gt;
&lt;name&gt;bike&lt;/name&gt;
&lt;pose&gt;Unspecified&lt;/pose&gt;
&lt;truncated&gt;0&lt;/truncated&gt;
&lt;difficult&gt;0&lt;/difficult&gt;
&lt;mask_color&gt;193,243,53&lt;/mask_color&gt;
&lt;occluded&gt;0&lt;/occluded&gt;
&lt;polygon&gt;
&lt;x1&gt;71&lt;/x1&gt;
&lt;y1&gt;48&lt;/y1&gt;
&lt;x2&gt;75&lt;/x2&gt;
&lt;y2&gt;73&lt;/y2&gt;
&lt;x3&gt;49&lt;/x3&gt;
&lt;y3&gt;69&lt;/y3&gt;
&lt;x4&gt;68&lt;/x4&gt;
&lt;y4&gt;92&lt;/y4&gt;
&lt;x5&gt;90&lt;/x5&gt;
&lt;y5&gt;101&lt;/y5&gt;
&lt;x6&gt;45&lt;/x6&gt;
&lt;y6&gt;110&lt;/y6&gt;
&lt;x7&gt;71&lt;/x7&gt;
&lt;y7&gt;48&lt;/y7&gt;
&lt;/polygon&gt;
&lt;/object&gt;
&lt;/annotation&gt;</pre>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section8593163192118"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section8593163192118"></a><a name="en-us_topic_0000001148092878_section8593163192118"></a><h4 class="sectiontitle">Text Classification</h4><pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen282075533610">{
"source": "content://I like this product ",
"id":"XGDVGS",
"annotation": [
{
"type": "modelarts/text_classification",
"name": " positive",
"annotated-by": "human",
"creation-time": "2019-01-23 11:30:30"
} ]
}</pre>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1499279173415">The <strong id="EN-US_TOPIC_0000002043025324__b48917911692842">content</strong> parameter indicates the text to be labeled. The other parameters are the same as those described in <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section260132417144">Image Classification</a>. For details, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table598984218223">Table 1</a>.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section335761812211"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section335761812211"></a><a name="en-us_topic_0000001148092878_section335761812211"></a><h4 class="sectiontitle">Named Entity Recognition</h4><pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen47201552134517">{
"source":"content://Michael Jordan is the most famous basketball player in the world.",
"usage":"TRAIN",
"annotation":[
{
"type":"modelarts/text_entity",
"name":"Person",
"property":{
"@modelarts:start_index":0,
"@modelarts:end_index":14
},
"annotated-by":"human",
"creation-time":"2019-01-23 11:30:30"
},
{
"type":"modelarts/text_entity",
"name":"Category",
"property":{
"@modelarts:start_index":34,
"@modelarts:end_index":44
},
"annotated-by":"human",
"creation-time":"2019-01-23 11:30:30"
}
]
}</pre>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p571905044511"></p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1034714611472">The parameters such as <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname202209237292842"><b>source</b></span>, <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname143933323592842"><b>usage</b></span>, and <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname15606002892842"><b>annotation</b></span> are the same as those described in <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section260132417144">Image Classification</a>. For details, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table598984218223">Table 1</a>.</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p685952654818"><a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table8486339124912">Table 6</a> describes the property parameters. For example, if you want to extract <span class="parmvalue" id="EN-US_TOPIC_0000002043025324__parmvalue140849064192842"><b>Michael</b></span> from <span class="parmvalue" id="EN-US_TOPIC_0000002043025324__parmvalue105062753892842"><b>"source":"content://Michael Jordan"</b></span>, the value of <strong id="EN-US_TOPIC_0000002043025324__b33360208492842">start_index</strong> is <strong id="EN-US_TOPIC_0000002043025324__b19648848492842">0</strong> and that of <strong id="EN-US_TOPIC_0000002043025324__b118151157592842">end_index</strong> is <strong id="EN-US_TOPIC_0000002043025324__b4779912592842">7</strong>.</p>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table8486339124912"></a><a name="en-us_topic_0000001148092878_table8486339124912"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table8486339124912" frame="border" border="1" rules="all"><caption><b>Table 6 </b><strong id="EN-US_TOPIC_0000002043025324__b150816711292842">property</strong> parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1487103944917"><th align="left" class="cellrowborder" valign="top" width="27.400000000000002%" id="mcps1.3.8.6.2.4.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p10794105417495">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.14%" id="mcps1.3.8.6.2.4.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p16794195464913">Data Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.46%" id="mcps1.3.8.6.2.4.1.3"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p167947549495">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row174872039174914"><td class="cellrowborder" valign="top" width="27.400000000000002%" headers="mcps1.3.8.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1794175434910">@modelarts:start_index</p>
</td>
<td class="cellrowborder" valign="top" width="17.14%" headers="mcps1.3.8.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p5794155419493">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="55.46%" headers="mcps1.3.8.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1979485419492">Start position of the text. The value starts from 0, including the characters specified by <strong id="EN-US_TOPIC_0000002043025324__b116148500192842">start_index</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row54877393497"><td class="cellrowborder" valign="top" width="27.400000000000002%" headers="mcps1.3.8.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p27951154194919">@modelarts:end_index</p>
</td>
<td class="cellrowborder" valign="top" width="17.14%" headers="mcps1.3.8.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p2795654174915">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="55.46%" headers="mcps1.3.8.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p8795185411497">End position of the text, excluding the characters specified by <strong id="EN-US_TOPIC_0000002043025324__b181196186392842">end_index</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section29512198"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section29512198"></a><a name="en-us_topic_0000001148092878_section29512198"></a><h4 class="sectiontitle">Text Triplet</h4><pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen10641223154111">{
"source":"content://"Three Body" is a series of long science fiction novels created by Liu Cix.",
"usage":"TRAIN",
"annotation":[
{
"type":"modelarts/text_entity",
"name":"Person",
"id":"E1",
"property":{
"@modelarts:start_index":67,
"@modelarts:end_index":74
},
"annotated-by":"human",
"creation-time":"2019-01-23 11:30:30"
},
{
"type":"modelarts/text_entity",
"name":"Book",
"id":"E2",
"property":{
"@modelarts:start_index":0,
"@modelarts:end_index":12
},
"annotated-by":"human",
"creation-time":"2019-01-23 11:30:30"
},
{
"type":"modelarts/text_triplet",
"name":"Author",
"id":"R1",
"property":{
"@modelarts:from":"E1",
"@modelarts:to":"E2"
},
"annotated-by":"human",
"creation-time":"2019-01-23 11:30:30"
},
{
"type":"modelarts/text_triplet",
"name":"Works",
"id":"R2",
"property":{
"@modelarts:from":"E2",
"@modelarts:to":"E1"
},
"annotated-by":"human",
"creation-time":"2019-01-23 11:30:30"
}
]
}</pre>
</div>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p15489102118915">The parameters such as <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname19750716692842"><b>source</b></span>, <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname166030948192842"><b>usage</b></span>, and <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname78278050892842"><b>annotation</b></span> are the same as those described in <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section260132417144">Image Classification</a>. For details, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table598984218223">Table 1</a>.</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1548918211191"><a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table134893213914">Table 5 property parameters</a> describes the <strong id="EN-US_TOPIC_0000002043025324__b36862210192842">property</strong> parameters. <strong id="EN-US_TOPIC_0000002043025324__b168109317692842">@modelarts:start_index</strong> and <strong id="EN-US_TOPIC_0000002043025324__b137809845192842">@modelarts:end_index</strong> are the same as those of named entity recognition. For example, when <strong id="EN-US_TOPIC_0000002043025324__b131378528392842">source</strong> is set to <strong id="EN-US_TOPIC_0000002043025324__b85864034692842">content://"Three Body" is a series of long science fiction novels created by Liu Cix.</strong>, <strong id="EN-US_TOPIC_0000002043025324__b152947496492842">Liu Cix</strong> is an entity person, <strong id="EN-US_TOPIC_0000002043025324__b757617692842">Three Body</strong> is an entity book, the person is the author of the book, and the book is works of the person.</p>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table134893213914"></a><a name="en-us_topic_0000001148092878_table134893213914"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table134893213914" frame="border" border="1" rules="all"><caption><b>Table 7 </b><strong id="EN-US_TOPIC_0000002043025324__b6889496792842">property</strong> parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row748932115911"><th align="left" class="cellrowborder" valign="top" width="27.400000000000002%" id="mcps1.3.12.2.4.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p124892214912">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.14%" id="mcps1.3.12.2.4.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p848992116918">Data Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.46%" id="mcps1.3.12.2.4.1.3"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p3489521496">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row154895211194"><td class="cellrowborder" valign="top" width="27.400000000000002%" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1548914215911">@modelarts:start_index</p>
</td>
<td class="cellrowborder" valign="top" width="17.14%" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p34898211192">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="55.46%" headers="mcps1.3.12.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p14893211498">Start position of the triplet entities. The value starts from 0, including the characters specified by <strong id="EN-US_TOPIC_0000002043025324__b150083705692842">start_index</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1148902117916"><td class="cellrowborder" valign="top" width="27.400000000000002%" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p948916214910">@modelarts:end_index</p>
</td>
<td class="cellrowborder" valign="top" width="17.14%" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p194891214912">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="55.46%" headers="mcps1.3.12.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p2489121598">End position of the triplet entities, excluding the characters specified by <strong id="EN-US_TOPIC_0000002043025324__b32003811892842">end_index</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row114892217919"><td class="cellrowborder" valign="top" width="27.400000000000002%" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p54892211690">@modelarts:from</p>
</td>
<td class="cellrowborder" valign="top" width="17.14%" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p18489321394">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.46%" headers="mcps1.3.12.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p15489121492">Start entity ID of the triplet relationship</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1348916211499"><td class="cellrowborder" valign="top" width="27.400000000000002%" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1848919212917">@modelarts:to</p>
</td>
<td class="cellrowborder" valign="top" width="17.14%" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p14891021096">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.46%" headers="mcps1.3.12.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p44891021992">Entity ID pointed to in the triplet relationship</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section1571582442114"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section1571582442114"></a><a name="en-us_topic_0000001148092878_section1571582442114"></a><h4 class="sectiontitle">Object Detection</h4><pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen1398122219518">{
"source":"s3://path/to/image1.jpg",
"usage":"TRAIN",
"hard":"true",
"hard-coefficient":0.8,
"annotation": [
{
"type":"modelarts/object_detection",
"annotation-loc": "s3://path/to/annotation1.xml",
"annotation-format":"PASCAL VOC",
"annotated-by":"human",
"creation-time":"2019-01-23 11:30:30"
}]
}</pre>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul431533017519"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li431543016517">The parameters such as <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname12147231692842"><b>source</b></span>, <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname5728645192842"><b>usage</b></span>, and <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname193575700592842"><b>annotation</b></span> are the same as those described in <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section260132417144">Image Classification</a>. For details, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table598984218223">Table 1</a>.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li8315173016513"><span class="parmname" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmname7450109115510"><b>annotation-loc</b></span> indicates the path for saving the label file. This parameter is mandatory for object detection and image segmentation but optional for other labeling types.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li15315143017514"><span class="parmname" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmname7236101155514"><b>annotation-format</b></span> indicates the format of the label file. This parameter is optional. The default value is <span class="parmvalue" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmvalue13923203811526"><b>PASCAL VOC</b></span>. Only <span class="parmvalue" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmvalue179111148175219"><b>PASCAL VOC</b></span> is supported.</li></ul>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table77167388472"></a><a name="en-us_topic_0000001148092878_table77167388472"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table77167388472" frame="border" border="1" rules="all"><caption><b>Table 8 </b>PASCAL VOC format parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row7716163814718"><th align="left" class="cellrowborder" valign="top" width="20.64793520647935%" id="mcps1.3.13.4.2.4.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p19717173814479">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.228877112288771%" id="mcps1.3.13.4.2.4.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p539965784710">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="68.12318768123188%" id="mcps1.3.13.4.2.4.1.3"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1171718387470">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row17171038174719"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.13.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p17717938184712">folder</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.13.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1840010576473">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.13.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1971710382475">Directory where the data source is located</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row6717193816479"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.13.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p16717123874713">filename</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.13.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p15400185784715">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.13.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p19717123844715">Name of the file to be labeled</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1771715381471"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.13.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1471717386478">size</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.13.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p17400155715476">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.13.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1060417161494">Image pixel</p>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul4553182420494"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li16553202415497"><strong id="EN-US_TOPIC_0000002043025324__b30700220692842">width</strong>: image width. This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li195530241495"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname151485303892842"><b>height</b></span>: image height. This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li11553224104910"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname37355496292842"><b>depth</b></span>: number of image channels. This parameter is mandatory.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row2071720384474"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.13.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1471793854717">segmented</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.13.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1340055713477">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.13.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1871713386473">Segmented or not</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row772234211471"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.13.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p18723134212474">object</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.13.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p114001557104712">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.13.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1272364284719">Object detection information. Multiple <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname80274140492842"><b>object{}</b></span> functions are generated for multiple objects.</p>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul486718312505"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li1753455885012"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname36186111192842"><b>name</b></span>: type of the labeled content. This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li10534135818508"><strong id="EN-US_TOPIC_0000002043025324__b163055094692842">pose</strong>: shooting angle of the labeled content. This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li45341458185018"><strong id="EN-US_TOPIC_0000002043025324__b159658956092842">truncated</strong>: whether the labeled content is truncated (<strong id="EN-US_TOPIC_0000002043025324__b76861233492842">0</strong> indicates that the content is not truncated). This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li13534145875019"><strong id="EN-US_TOPIC_0000002043025324__b195607080592842">occluded</strong>: whether the labeled content is occluded (<strong id="EN-US_TOPIC_0000002043025324__b163859260492842">0</strong> indicates that the content is not occluded). This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li453425818509"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname6192856092842"><b>difficult</b></span>: whether the labeled object is difficult to identify (<span class="parmvalue" id="EN-US_TOPIC_0000002043025324__parmvalue161325218592842"><b>0</b></span> indicates that the object is easy to identify). This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li923175713438"><strong id="EN-US_TOPIC_0000002043025324__b17756424992842">confidence</strong>: confidence score of the labeled object. The value ranges from 0 to 1. This parameter is optional.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li953485810505"><strong id="EN-US_TOPIC_0000002043025324__b26466002892842">bndbox</strong>: bounding box type. This parameter is mandatory. For details about the possible values, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table1770752310500">Table 9</a>.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table1770752310500"></a><a name="en-us_topic_0000001148092878_table1770752310500"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table1770752310500" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Bounding box types</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1481202365017"><th align="left" class="cellrowborder" valign="top" width="23.077692230776922%" id="mcps1.3.13.5.2.4.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p138121023145019">type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.557644235576443%" id="mcps1.3.13.5.2.4.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p6812122316505">Shape</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.36466353364663%" id="mcps1.3.13.5.2.4.1.3"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p7812152385012">Labeling Information</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row28121230504"><td class="cellrowborder" valign="top" width="23.077692230776922%" headers="mcps1.3.13.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p138122023165012">point</p>
</td>
<td class="cellrowborder" valign="top" width="23.557644235576443%" headers="mcps1.3.13.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1381202317502">Point</p>
</td>
<td class="cellrowborder" valign="top" width="53.36466353364663%" headers="mcps1.3.13.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p98139233509">Coordinates of a point</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p6813162315011">&lt;x&gt;100&lt;x&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p2081317236509">&lt;y&gt;100&lt;y&gt;</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row3813823145019"><td class="cellrowborder" valign="top" width="23.077692230776922%" headers="mcps1.3.13.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1381322312507">line</p>
</td>
<td class="cellrowborder" valign="top" width="23.557644235576443%" headers="mcps1.3.13.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p781352319501">Line</p>
</td>
<td class="cellrowborder" valign="top" width="53.36466353364663%" headers="mcps1.3.13.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p781312320507">Coordinates of points</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p8813623165016">&lt;x1&gt;100&lt;x1&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p18131223165017">&lt;y1&gt;100&lt;y1&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p281312232502">&lt;x2&gt;200&lt;x2&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p12813323105015">&lt;y2&gt;200&lt;y2&gt;</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row481312312503"><td class="cellrowborder" valign="top" width="23.077692230776922%" headers="mcps1.3.13.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p381352355016">bndbox</p>
</td>
<td class="cellrowborder" valign="top" width="23.557644235576443%" headers="mcps1.3.13.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p19813723175017">Rectangle</p>
</td>
<td class="cellrowborder" valign="top" width="53.36466353364663%" headers="mcps1.3.13.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1981315231506">Coordinates of the upper left and lower right points</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1381316234504">&lt;xmin&gt;100&lt;xmin&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p3813132315509">&lt;ymin&gt;100&lt;ymin&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p8813623125018">&lt;xmax&gt;200&lt;xmax&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p15813923125018">&lt;ymax&gt;200&lt;ymax&gt;</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row15813192316505"><td class="cellrowborder" valign="top" width="23.077692230776922%" headers="mcps1.3.13.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p178131235507">polygon</p>
</td>
<td class="cellrowborder" valign="top" width="23.557644235576443%" headers="mcps1.3.13.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p78130238502">Polygon</p>
</td>
<td class="cellrowborder" valign="top" width="53.36466353364663%" headers="mcps1.3.13.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1281410235509">Coordinates of points</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1781422385011">&lt;x1&gt;100&lt;x1&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p681482314501">&lt;y1&gt;100&lt;y1&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p581422314509">&lt;x2&gt;200&lt;x2&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p17814182385013">&lt;y2&gt;100&lt;y2&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p108144232502">&lt;x3&gt;250&lt;x3&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p16814132311509">&lt;y3&gt;150&lt;y3&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p12814723155016">&lt;x4&gt;200&lt;x4&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1881462315014">&lt;y4&gt;200&lt;y4&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p4814623155015">&lt;x5&gt;100&lt;x5&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1481422325015">&lt;y5&gt;200&lt;y5&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p188141023115011">&lt;x6&gt;50&lt;x6&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p7814112319504">&lt;y6&gt;150&lt;y6&gt;</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row981420231502"><td class="cellrowborder" valign="top" width="23.077692230776922%" headers="mcps1.3.13.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p128141223145015">circle</p>
</td>
<td class="cellrowborder" valign="top" width="23.557644235576443%" headers="mcps1.3.13.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p7814423145019">Circle</p>
</td>
<td class="cellrowborder" valign="top" width="53.36466353364663%" headers="mcps1.3.13.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p3814823165018">Center coordinates and radius</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1881413233508">&lt;cx&gt;100&lt;cx&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p5814132310504">&lt;cy&gt;100&lt;cy&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p6814223175013">&lt;r&gt;50&lt;r&gt;</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="p" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p13683125717461">Example:<pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen19709184110466">&lt;annotation&gt;
&lt;folder&gt;test_data&lt;/folder&gt;
&lt;filename&gt;260730932.jpg&lt;/filename&gt;
&lt;size&gt;
&lt;width&gt;767&lt;/width&gt;
&lt;height&gt;959&lt;/height&gt;
&lt;depth&gt;3&lt;/depth&gt;
&lt;/size&gt;
&lt;segmented&gt;0&lt;/segmented&gt;
&lt;object&gt;
&lt;name&gt;point&lt;/name&gt;
&lt;pose&gt;Unspecified&lt;/pose&gt;
&lt;truncated&gt;0&lt;/truncated&gt;
&lt;occluded&gt;0&lt;/occluded&gt;
&lt;difficult&gt;0&lt;/difficult&gt;
&lt;point&gt;
&lt;x1&gt;456&lt;/x1&gt;
&lt;y1&gt;596&lt;/y1&gt;
&lt;/point&gt;
&lt;/object&gt;
&lt;object&gt;
&lt;name&gt;line&lt;/name&gt;
&lt;pose&gt;Unspecified&lt;/pose&gt;
&lt;truncated&gt;0&lt;/truncated&gt;
&lt;occluded&gt;0&lt;/occluded&gt;
&lt;difficult&gt;0&lt;/difficult&gt;
&lt;line&gt;
&lt;x1&gt;133&lt;/x1&gt;
&lt;y1&gt;651&lt;/y1&gt;
&lt;x2&gt;229&lt;/x2&gt;
&lt;y2&gt;561&lt;/y2&gt;
&lt;/line&gt;
&lt;/object&gt;
&lt;object&gt;
&lt;name&gt;bag&lt;/name&gt;
&lt;pose&gt;Unspecified&lt;/pose&gt;
&lt;truncated&gt;0&lt;/truncated&gt;
&lt;occluded&gt;0&lt;/occluded&gt;
&lt;difficult&gt;0&lt;/difficult&gt;
&lt;bndbox&gt;
&lt;xmin&gt;108&lt;/xmin&gt;
&lt;ymin&gt;101&lt;/ymin&gt;
&lt;xmax&gt;251&lt;/xmax&gt;
&lt;ymax&gt;238&lt;/ymax&gt;
&lt;/bndbox&gt;
&lt;/object&gt;
&lt;object&gt;
&lt;name&gt;boots&lt;/name&gt;
&lt;pose&gt;Unspecified&lt;/pose&gt;
&lt;truncated&gt;0&lt;/truncated&gt;
&lt;occluded&gt;0&lt;/occluded&gt;
&lt;difficult&gt;0&lt;/difficult&gt;
&lt;hard-coefficient&gt;0.8&lt;/hard-coefficient&gt;
&lt;polygon&gt;
&lt;x1&gt;373&lt;/x1&gt;
&lt;y1&gt;264&lt;/y1&gt;
&lt;x2&gt;500&lt;/x2&gt;
&lt;y2&gt;198&lt;/y2&gt;
&lt;x3&gt;437&lt;/x3&gt;
&lt;y3&gt;76&lt;/y3&gt;
&lt;x4&gt;310&lt;/x4&gt;
&lt;y4&gt;142&lt;/y4&gt;
&lt;/polygon&gt;
&lt;/object&gt;
&lt;object&gt;
&lt;name&gt;circle&lt;/name&gt;
&lt;pose&gt;Unspecified&lt;/pose&gt;
&lt;truncated&gt;0&lt;/truncated&gt;
&lt;occluded&gt;0&lt;/occluded&gt;
&lt;difficult&gt;0&lt;/difficult&gt;
&lt;circle&gt;
&lt;cx&gt;405&lt;/cx&gt;
&lt;cy&gt;170&lt;/cy&gt;
&lt;r&gt;100&lt;r&gt;
&lt;/circle&gt;
&lt;/object&gt;
&lt;/annotation&gt;</pre>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section2373122922115"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section2373122922115"></a><a name="en-us_topic_0000001148092878_section2373122922115"></a><h4 class="sectiontitle">Sound Classification</h4><pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen13304118115317">{
"source":
"s3://path/to/pets.wav",
"annotation": [
{
"type": "modelarts/audio_classification",
"name":"cat",
"annotated-by":"human",
"creation-time":"2019-01-23 11:30:30"
}
]
}</pre>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p74989217539">The parameters such as <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname151510253692842"><b>source</b></span>, <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname195276750292842"><b>usage</b></span>, and <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname39054815492842"><b>annotation</b></span> are the same as those described in <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section260132417144">Image Classification</a>. For details, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table598984218223">Table 1</a>.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section10586153472113"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section10586153472113"></a><a name="en-us_topic_0000001148092878_section10586153472113"></a><h4 class="sectiontitle">Speech Labeling</h4><pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen889612532531">{
"source":"s3://path/to/audio1.wav",
"annotation":[
{
"type":"modelarts/audio_content",
"property":{
"@modelarts:content":"Today is a good day."
},
"annotated-by":"human",
"creation-time":"2019-01-23 11:30:30"
}
]
}</pre>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul6732111025410"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li1373281012540">The parameters such as <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname41816465492842"><b>source</b></span>, <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname104989648292842"><b>usage</b></span>, and <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname142063801092842"><b>annotation</b></span> are the same as those described in <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section260132417144">Image Classification</a>. For details, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table598984218223">Table 1</a>.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li127333109540">The <strong id="EN-US_TOPIC_0000002043025324__b54541306692842">@modelarts:content</strong> parameter in <strong id="EN-US_TOPIC_0000002043025324__b176424725592842">property</strong> indicates speech content. The data type is <strong id="EN-US_TOPIC_0000002043025324__b123613428392842">String</strong>.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section1260563812219"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section1260563812219"></a><a name="en-us_topic_0000001148092878_section1260563812219"></a><h4 class="sectiontitle">Speech Paragraph Labeling</h4><pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen42891626165510">{
"source":"s3://path/to/audio1.wav",
"usage":"TRAIN",
"annotation":[
{
"type":"modelarts/audio_segmentation",
"property":{
"@modelarts:start_time":"00:01:10.123",
"@modelarts:end_time":"00:01:15.456",
"@modelarts:source":"Tom",
"@modelarts:content":"How are you?"
},
"annotated-by":"human",
"creation-time":"2019-01-23 11:30:30"
},
{
"type":"modelarts/audio_segmentation",
"property":{
"@modelarts:start_time":"00:01:22.754",
"@modelarts:end_time":"00:01:24.145",
"@modelarts:source":"Jerry",
"@modelarts:content":"I'm fine, thank you."
},
"annotated-by":"human",
"creation-time":"2019-01-23 11:30:30"
}
]
}</pre>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul449012378553"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li749043713555">The parameters such as <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname131384515492842"><b>source</b></span>, <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname89738993692842"><b>usage</b></span>, and <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname187397408592842"><b>annotation</b></span> are the same as those described in <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section260132417144">Image Classification</a>. For details, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table598984218223">Table 1</a>.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li2490737205519"><a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table1151144815513">Table 10</a> describes the <strong id="EN-US_TOPIC_0000002043025324__b67262575692842">property</strong> parameters.
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table1151144815513"></a><a name="en-us_topic_0000001148092878_table1151144815513"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table1151144815513" frame="border" border="1" rules="all"><caption><b>Table 10 </b><strong id="EN-US_TOPIC_0000002043025324__b125527563492842">property</strong> parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row358094865519"><th align="left" class="cellrowborder" valign="top" width="26.21%" id="mcps1.3.16.3.2.3.2.4.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p14580048115514">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.57%" id="mcps1.3.16.3.2.3.2.4.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p45811548105513">Data Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="57.220000000000006%" id="mcps1.3.16.3.2.3.2.4.1.3"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p185811748205511">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row15811348145514"><td class="cellrowborder" valign="top" width="26.21%" headers="mcps1.3.16.3.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p10581184815557">@modelarts:start_time</p>
</td>
<td class="cellrowborder" valign="top" width="16.57%" headers="mcps1.3.16.3.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p5581114816550">String</p>
</td>
<td class="cellrowborder" valign="top" width="57.220000000000006%" headers="mcps1.3.16.3.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p3568516135610">Start time of the sound. The format is <span class="parmname" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmname20568616125612"><b>hh:mm:ss.SSS</b></span>.</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p20581114816555"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname173192392092842"><b>hh</b></span> indicates the hour, <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname39041585992842"><b>mm</b></span> indicates the minute, <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname204710625792842"><b>ss</b></span> indicates the second, and <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname98252544592842"><b>SSS</b></span> indicates the millisecond.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row155811648125515"><td class="cellrowborder" valign="top" width="26.21%" headers="mcps1.3.16.3.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p155811748115516">@modelarts:end_time</p>
</td>
<td class="cellrowborder" valign="top" width="16.57%" headers="mcps1.3.16.3.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p18581548185512">String</p>
</td>
<td class="cellrowborder" valign="top" width="57.220000000000006%" headers="mcps1.3.16.3.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p97611721145610">End time of the sound. The format is <span class="parmname" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmname19783925614"><b>hh:mm:ss.SSS</b></span>.</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1581104819558"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname87322521492842"><b>hh</b></span> indicates the hour, <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname177142078692842"><b>mm</b></span> indicates the minute, <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname168052059592842"><b>ss</b></span> indicates the second, and <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname63763115792842"><b>SSS</b></span> indicates the millisecond.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row12581134805516"><td class="cellrowborder" valign="top" width="26.21%" headers="mcps1.3.16.3.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p11581124815551">@modelarts:source</p>
</td>
<td class="cellrowborder" valign="top" width="16.57%" headers="mcps1.3.16.3.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p2058111487559">String</p>
</td>
<td class="cellrowborder" valign="top" width="57.220000000000006%" headers="mcps1.3.16.3.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p558194815513">Sound source</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1158124885511"><td class="cellrowborder" valign="top" width="26.21%" headers="mcps1.3.16.3.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p958114814553">@modelarts:content</p>
</td>
<td class="cellrowborder" valign="top" width="16.57%" headers="mcps1.3.16.3.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p2058118480559">String</p>
</td>
<td class="cellrowborder" valign="top" width="57.220000000000006%" headers="mcps1.3.16.3.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p158104865516">Sound content</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section1269454020180"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section1269454020180"></a><a name="en-us_topic_0000001148092878_section1269454020180"></a><h4 class="sectiontitle">Video Labeling</h4><pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen1869414405186">{
"annotation": [{
"annotation-format": "PASCAL VOC",
"type": "modelarts/object_detection",
"annotation-loc": "s3://path/to/annotation1_t1.473722.xml",
"creation-time": "2020-10-09 14:08:24",
"annotated-by": "human"
}],
"usage": "train",
"property": {
"@modelarts:parent_duration": 8,
"@modelarts:parent_source": "s3://path/to/annotation1.mp4",
"@modelarts:time_in_video": 1.473722
},
"source": "s3://input/path/to/annotation1_t1.473722.jpg",
"id": "43d88677c1e9a971eeb692a80534b5d5",
"sample-type": 0
}</pre>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul19694144013186"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li869411409185">The parameters such as <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname14456630792842"><b>source</b></span>, <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname63461769792842"><b>usage</b></span>, and <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname91731607292842"><b>annotation</b></span> are the same as those described in <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_section260132417144">Image Classification</a>. For details, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table598984218223">Table 1</a>.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li1569494031814"><span class="parmname" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmname186951540141812"><b>annotation-loc</b></span> indicates the path for saving the label file. This parameter is mandatory for object detection but optional for other labeling types.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li66951140181820"><span class="parmname" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmname369517406186"><b>annotation-format</b></span> indicates the format of the label file. This parameter is optional. The default value is <span class="parmvalue" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmvalue16695104019185"><b>PASCAL VOC</b></span>. Only <span class="parmvalue" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_parmvalue5695144041818"><b>PASCAL VOC</b></span> is supported.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li1691194110259"><strong id="EN-US_TOPIC_0000002043025324__b34818660492842">sample-type</strong> indicates a sample format. Value <strong id="EN-US_TOPIC_0000002043025324__b113079433592842">0</strong> indicates image, <strong id="EN-US_TOPIC_0000002043025324__b76499413292842">1</strong> text, <strong id="EN-US_TOPIC_0000002043025324__b115400491492842">2</strong> audio, <strong id="EN-US_TOPIC_0000002043025324__b147041670492842">4</strong> table, and <strong id="EN-US_TOPIC_0000002043025324__b55152758292842">6</strong> video.</li></ul>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table178351411132818" frame="border" border="1" rules="all"><caption><b>Table 11 </b><strong id="EN-US_TOPIC_0000002043025324__b55850847992842">property</strong> parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row13835101182810"><th align="left" class="cellrowborder" valign="top" width="27.400000000000002%" id="mcps1.3.17.4.2.4.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1383591115287">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.14%" id="mcps1.3.17.4.2.4.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p38353118284">Data Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.46%" id="mcps1.3.17.4.2.4.1.3"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p9835411192817">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row583591116289"><td class="cellrowborder" valign="top" width="27.400000000000002%" headers="mcps1.3.17.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p17835171112283">@modelarts:parent_duration</p>
</td>
<td class="cellrowborder" valign="top" width="17.14%" headers="mcps1.3.17.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p8166161503714">Double</p>
</td>
<td class="cellrowborder" valign="top" width="55.46%" headers="mcps1.3.17.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p183514115283">Duration of the labeled video, in seconds</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row419225514215"><td class="cellrowborder" valign="top" width="27.400000000000002%" headers="mcps1.3.17.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p12192195519422">@modelarts:time_in_video</p>
</td>
<td class="cellrowborder" valign="top" width="17.14%" headers="mcps1.3.17.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p11192555134210">Double</p>
</td>
<td class="cellrowborder" valign="top" width="55.46%" headers="mcps1.3.17.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1719216551423">Timestamp of the labeled video frame, in seconds</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1383511111286"><td class="cellrowborder" valign="top" width="27.400000000000002%" headers="mcps1.3.17.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p8835131192813">@modelarts:parent_source</p>
</td>
<td class="cellrowborder" valign="top" width="17.14%" headers="mcps1.3.17.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1835191117285">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.46%" headers="mcps1.3.17.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p158362115288">OBS path of the labeled video</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table259920384918" frame="border" border="1" rules="all"><caption><b>Table 12 </b>PASCAL VOC format parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1859818334919"><th align="left" class="cellrowborder" valign="top" width="20.64793520647935%" id="mcps1.3.17.5.2.4.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1359810394911">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.228877112288771%" id="mcps1.3.17.5.2.4.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p459893134915">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="68.12318768123188%" id="mcps1.3.17.5.2.4.1.3"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1759815319499">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row2059818344919"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.17.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p85981339492">folder</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.17.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1859814394916">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.17.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p259883194910">Directory where the data source is located</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row1659823164913"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.17.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p35982039494">filename</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.17.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p25982315493">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.17.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p11598163124910">Name of the file to be labeled</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row205981436495"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.17.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1459823164917">size</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.17.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p135987364911">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.17.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1359820313495">Image pixel</p>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul115982311499"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li1859816304914"><strong id="EN-US_TOPIC_0000002043025324__b146821655892842">width</strong>: image width. This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li75981135498"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname145643101092842"><b>height</b></span>: image height. This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li55981935497"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname144353634192842"><b>depth</b></span>: number of image channels. This parameter is mandatory.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row359814324910"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.17.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p859817316494">segmented</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.17.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p4598153164916">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.17.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p459819318494">Segmented or not</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row9599738498"><td class="cellrowborder" valign="top" width="20.64793520647935%" headers="mcps1.3.17.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p135991936492">object</p>
</td>
<td class="cellrowborder" valign="top" width="11.228877112288771%" headers="mcps1.3.17.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p13599163184910">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="68.12318768123188%" headers="mcps1.3.17.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p14599183104919">Object detection information. Multiple <span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname45940961992842"><b>object{}</b></span> functions are generated for multiple objects.</p>
<ul id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_ul059919318496"><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li20599153114915"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname137021964092842"><b>name</b></span>: type of the labeled content. This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li559913310497"><strong id="EN-US_TOPIC_0000002043025324__b158675785092842">pose</strong>: shooting angle of the labeled content. This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li16599183164910"><strong id="EN-US_TOPIC_0000002043025324__b147874883192842">truncated</strong>: whether the labeled content is truncated (<strong id="EN-US_TOPIC_0000002043025324__b64550448392842">0</strong> indicates that the content is not truncated). This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li16599533498"><strong id="EN-US_TOPIC_0000002043025324__b12873671392842">occluded</strong>: whether the labeled content is occluded (<strong id="EN-US_TOPIC_0000002043025324__b136231336092842">0</strong> indicates that the content is not occluded). This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li959916316495"><span class="parmname" id="EN-US_TOPIC_0000002043025324__parmname91814872992842"><b>difficult</b></span>: whether the labeled object is difficult to identify (<span class="parmvalue" id="EN-US_TOPIC_0000002043025324__parmvalue22619485792842"><b>0</b></span> indicates that the object is easy to identify). This parameter is mandatory.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li1599734493"><strong id="EN-US_TOPIC_0000002043025324__b192165040392842">confidence</strong>: confidence score of the labeled object. The value ranges from 0 to 1. This parameter is optional.</li><li id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_li1259914344912"><strong id="EN-US_TOPIC_0000002043025324__b168783535592842">bndbox</strong>: bounding box type. This parameter is mandatory. For details about the possible values, see <a href="#EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table869624041814">Table 13</a>.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table869624041814"></a><a name="en-us_topic_0000001148092878_table869624041814"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_table869624041814" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Bounding box types</caption><thead align="left"><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row2696440131817"><th align="left" class="cellrowborder" valign="top" width="23.077692230776922%" id="mcps1.3.17.6.2.4.1.1"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p86969407182">type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.557644235576443%" id="mcps1.3.17.6.2.4.1.2"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p12696440111818">Shape</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.36466353364663%" id="mcps1.3.17.6.2.4.1.3"><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p11696144091814">Labeling Information</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row56961640151811"><td class="cellrowborder" valign="top" width="23.077692230776922%" headers="mcps1.3.17.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p18696124013187">point</p>
</td>
<td class="cellrowborder" valign="top" width="23.557644235576443%" headers="mcps1.3.17.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p8696174019185">Point</p>
</td>
<td class="cellrowborder" valign="top" width="53.36466353364663%" headers="mcps1.3.17.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p66961040131810">Coordinates of a point</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p116963409183">&lt;x&gt;100&lt;x&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1269619405181">&lt;y&gt;100&lt;y&gt;</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row126971840171814"><td class="cellrowborder" valign="top" width="23.077692230776922%" headers="mcps1.3.17.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p12697204071820">line</p>
</td>
<td class="cellrowborder" valign="top" width="23.557644235576443%" headers="mcps1.3.17.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p11697140141817">Line</p>
</td>
<td class="cellrowborder" valign="top" width="53.36466353364663%" headers="mcps1.3.17.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p4697640151818">Coordinates of points</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p9697140141811">&lt;x1&gt;100&lt;x1&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p15697124061818">&lt;y1&gt;100&lt;y1&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1697540131813">&lt;x2&gt;200&lt;x2&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p16697240161811">&lt;y2&gt;200&lt;y2&gt;</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row469744091811"><td class="cellrowborder" valign="top" width="23.077692230776922%" headers="mcps1.3.17.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p269794081818">bndbox</p>
</td>
<td class="cellrowborder" valign="top" width="23.557644235576443%" headers="mcps1.3.17.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p14697194071811">Rectangle</p>
</td>
<td class="cellrowborder" valign="top" width="53.36466353364663%" headers="mcps1.3.17.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p1069734020182">Coordinates of the upper left and lower right points</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p11697194081814">&lt;xmin&gt;100&lt;xmin&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p166976405187">&lt;ymin&gt;100&lt;ymin&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p15697140141812">&lt;xmax&gt;200&lt;xmax&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p6697340201811">&lt;ymax&gt;200&lt;ymax&gt;</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row206972040131811"><td class="cellrowborder" valign="top" width="23.077692230776922%" headers="mcps1.3.17.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p13697114041814">polygon</p>
</td>
<td class="cellrowborder" valign="top" width="23.557644235576443%" headers="mcps1.3.17.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p2697540111815">Polygon</p>
</td>
<td class="cellrowborder" valign="top" width="53.36466353364663%" headers="mcps1.3.17.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p769784019189">Coordinates of points</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p16697640101816">&lt;x1&gt;100&lt;x1&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p2697104016189">&lt;y1&gt;100&lt;y1&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p369724014182">&lt;x2&gt;200&lt;x2&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p7697154041818">&lt;y2&gt;100&lt;y2&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p069714091814">&lt;x3&gt;250&lt;x3&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p869744016185">&lt;y3&gt;150&lt;y3&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p16971540161814">&lt;x4&gt;200&lt;x4&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p6697140201820">&lt;y4&gt;200&lt;y4&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p86976407181">&lt;x5&gt;100&lt;x5&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p669719402182">&lt;y5&gt;200&lt;y5&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p17697134031814">&lt;x6&gt;50&lt;x6&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p15697184011187">&lt;y6&gt;150&lt;y6&gt;</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_row11697640141811"><td class="cellrowborder" valign="top" width="23.077692230776922%" headers="mcps1.3.17.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p96971540151815">circle</p>
</td>
<td class="cellrowborder" valign="top" width="23.557644235576443%" headers="mcps1.3.17.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p9697240171812">Circle</p>
</td>
<td class="cellrowborder" valign="top" width="53.36466353364663%" headers="mcps1.3.17.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p186971140171819">Center coordinates and radius</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p12697194018187">&lt;cx&gt;100&lt;cx&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p5697040101811">&lt;cy&gt;100&lt;cy&gt;</p>
<p id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p569814017183">&lt;r&gt;50&lt;r&gt;</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="p" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_p176981840191815">Example:<pre class="screen" id="EN-US_TOPIC_0000002043025324__en-us_topic_0000001148092878_screen06987406186">&lt;annotation&gt;
&lt;folder&gt;test_data&lt;/folder&gt;
&lt;filename&gt;260730932_t1.473722.jpg.jpg&lt;/filename&gt;
&lt;size&gt;
&lt;width&gt;767&lt;/width&gt;
&lt;height&gt;959&lt;/height&gt;
&lt;depth&gt;3&lt;/depth&gt;
&lt;/size&gt;
&lt;segmented&gt;0&lt;/segmented&gt;
&lt;object&gt;
&lt;name&gt;point&lt;/name&gt;
&lt;pose&gt;Unspecified&lt;/pose&gt;
&lt;truncated&gt;0&lt;/truncated&gt;
&lt;occluded&gt;0&lt;/occluded&gt;
&lt;difficult&gt;0&lt;/difficult&gt;
&lt;point&gt;
&lt;x1&gt;456&lt;/x1&gt;
&lt;y1&gt;596&lt;/y1&gt;
&lt;/point&gt;
&lt;/object&gt;
&lt;object&gt;
&lt;name&gt;line&lt;/name&gt;
&lt;pose&gt;Unspecified&lt;/pose&gt;
&lt;truncated&gt;0&lt;/truncated&gt;
&lt;occluded&gt;0&lt;/occluded&gt;
&lt;difficult&gt;0&lt;/difficult&gt;
&lt;line&gt;
&lt;x1&gt;133&lt;/x1&gt;
&lt;y1&gt;651&lt;/y1&gt;
&lt;x2&gt;229&lt;/x2&gt;
&lt;y2&gt;561&lt;/y2&gt;
&lt;/line&gt;
&lt;/object&gt;
&lt;object&gt;
&lt;name&gt;bag&lt;/name&gt;
&lt;pose&gt;Unspecified&lt;/pose&gt;
&lt;truncated&gt;0&lt;/truncated&gt;
&lt;occluded&gt;0&lt;/occluded&gt;
&lt;difficult&gt;0&lt;/difficult&gt;
&lt;bndbox&gt;
&lt;xmin&gt;108&lt;/xmin&gt;
&lt;ymin&gt;101&lt;/ymin&gt;
&lt;xmax&gt;251&lt;/xmax&gt;
&lt;ymax&gt;238&lt;/ymax&gt;
&lt;/bndbox&gt;
&lt;/object&gt;
&lt;object&gt;
&lt;name&gt;boots&lt;/name&gt;
&lt;pose&gt;Unspecified&lt;/pose&gt;
&lt;truncated&gt;0&lt;/truncated&gt;
&lt;occluded&gt;0&lt;/occluded&gt;
&lt;difficult&gt;0&lt;/difficult&gt;
&lt;hard-coefficient&gt;0.8&lt;/hard-coefficient&gt;
&lt;polygon&gt;
&lt;x1&gt;373&lt;/x1&gt;
&lt;y1&gt;264&lt;/y1&gt;
&lt;x2&gt;500&lt;/x2&gt;
&lt;y2&gt;198&lt;/y2&gt;
&lt;x3&gt;437&lt;/x3&gt;
&lt;y3&gt;76&lt;/y3&gt;
&lt;x4&gt;310&lt;/x4&gt;
&lt;y4&gt;142&lt;/y4&gt;
&lt;/polygon&gt;
&lt;/object&gt;
&lt;object&gt;
&lt;name&gt;circle&lt;/name&gt;
&lt;pose&gt;Unspecified&lt;/pose&gt;
&lt;truncated&gt;0&lt;/truncated&gt;
&lt;occluded&gt;0&lt;/occluded&gt;
&lt;difficult&gt;0&lt;/difficult&gt;
&lt;circle&gt;
&lt;cx&gt;405&lt;/cx&gt;
&lt;cy&gt;170&lt;/cy&gt;
&lt;r&gt;100&lt;r&gt;
&lt;/circle&gt;
&lt;/object&gt;
&lt;/annotation&gt;</pre>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataprepare-modelarts-0010.html">Importing Data from OBS</a></div>
</div>
</div>