forked from docs/doc-exports
Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com> Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
257 lines
27 KiB
HTML
257 lines
27 KiB
HTML
<a name="modelarts_04_0195"></a><a name="modelarts_04_0195"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining the Model List</h1>
|
|
<div id="body8662426"><div class="section" id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_section39592964819"><h4 class="sectiontitle">Sample Code</h4><p id="modelarts_04_0195__en-us_topic_0180533911_p1664962717475">In ModelArts notebook, you do not need to enter authentication parameters for session authentication. For details about session authentication of other development environments, see <a href="modelarts_04_0123.html">Session Authentication</a>.</p>
|
|
<ul id="modelarts_04_0195__en-us_topic_0180533911_ul4376242179"><li id="modelarts_04_0195__en-us_topic_0180533911_li83761943175">Scenario 1: Query all models of a user.</li></ul>
|
|
<div class="codecoloring" codetype="Python" id="modelarts_04_0195__en-us_topic_0180533911_screen4421129113320"><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></pre></div></td><td class="code"><div><pre><span></span><span class="kn">from</span> <span class="nn">modelarts.session</span> <span class="kn">import</span> <span class="n">Session</span>
|
|
<span class="kn">from</span> <span class="nn">modelarts.model</span> <span class="kn">import</span> <span class="n">Model</span>
|
|
|
|
<span class="n">session</span> <span class="o">=</span> <span class="n">Session</span><span class="p">()</span>
|
|
<span class="n">model_list</span> <span class="o">=</span> <span class="n">Model</span><span class="o">.</span><span class="n">get_model_list</span><span class="p">(</span><span class="n">session</span><span class="p">)</span>
|
|
</pre></div></td></tr></table></div>
|
|
|
|
</div>
|
|
<ul id="modelarts_04_0195__en-us_topic_0180533911_ul668104061712"><li id="modelarts_04_0195__en-us_topic_0180533911_li136824091718">Scenario 2: Query a model based on the search criteria.</li></ul>
|
|
<div class="codecoloring" codetype="Python" id="modelarts_04_0195__en-us_topic_0180533911_screen48171829141812"><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></pre></div></td><td class="code"><div><pre><span></span><span class="kn">from</span> <span class="nn">modelarts.session</span> <span class="kn">import</span> <span class="n">Session</span>
|
|
<span class="kn">from</span> <span class="nn">modelarts.model</span> <span class="kn">import</span> <span class="n">Model</span>
|
|
|
|
<span class="n">session</span> <span class="o">=</span> <span class="n">Session</span><span class="p">()</span>
|
|
<span class="n">model_list</span> <span class="o">=</span> <span class="n">Model</span><span class="o">.</span><span class="n">get_model_list</span><span class="p">(</span><span class="n">session</span><span class="p">,</span> <span class="n">model_status</span><span class="o">=</span><span class="s2">"published"</span><span class="p">,</span> <span class="n">model_name</span><span class="o">=</span><span class="s2">"digit"</span><span class="p">,</span> <span class="n">order</span><span class="o">=</span><span class="s2">"desc"</span><span class="p">)</span>
|
|
</pre></div></td></tr></table></div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="section" id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_section483612415818"><h4 class="sectiontitle">Parameter Description</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_table2918868102420" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Query parameters</caption><thead align="left"><tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row46282814102420"><th align="left" class="cellrowborder" valign="top" width="18%" id="mcps1.3.2.2.2.5.1.1"><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p58767362102449">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.2.2.2.5.1.2"><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p62535864102449">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.2.2.2.5.1.3"><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p32240260102449">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="54%" id="mcps1.3.2.2.2.5.1.4"><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p61324235102449">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row55399715102420"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.2.2.5.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p032273713366">model_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p73258373366">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p232723763614">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.2.2.2.5.1.4 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p173291637153620">Model name. Fuzzy match is supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row17457519102420"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.2.2.5.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p633310373369">model_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p10334153763618">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p10337173753615">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.2.2.2.5.1.4 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p153391237143610">Model version</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row18276139113012"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.2.2.5.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1427689133019">model_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1346282320309">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p124651223153017">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.2.2.2.5.1.4 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p4138143053012">Model status. The value can be <strong id="modelarts_04_0195__en-us_topic_0180533911_b16386164214336">publishing</strong>, <strong id="modelarts_04_0195__en-us_topic_0180533911_b438744211336">published</strong>, or <strong id="modelarts_04_0195__en-us_topic_0180533911_b638874223316">failed</strong>. Obtain jobs based on their statuses.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row14692786102420"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.2.2.5.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p4343143713369">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p183451737133617">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1934783743610">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.2.2.2.5.1.4 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1435093723618">Description. Fuzzy match is supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row64535694102420"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.2.2.5.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p7353143716365">offset</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p63561237183614">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p193582037143618">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.2.2.2.5.1.4 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p15361137193610">Index of the page to be queried. Default value: <strong id="modelarts_04_0195__en-us_topic_0180533911_b1577714553330">0</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row32737003102420"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.2.2.5.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p193633378362">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p12366113711366">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1368173713364">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.2.2.2.5.1.4 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p33701437133612">Maximum number of records returned on each page. Default value: <span class="parmname" id="modelarts_04_0195__en-us_topic_0180533911_parmname442122332415"><b>280</b></span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row21262393102420"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.2.2.5.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p19826207163712">sort_by</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1682827203720">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p28301979378">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.2.2.2.5.1.4 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1983417703719">Sorting mode. The value can be <strong id="modelarts_04_0195__en-us_topic_0180533911_b1597716315346">create_at</strong>, <strong id="modelarts_04_0195__en-us_topic_0180533911_b1897813163419">model_version</strong>, or <strong id="modelarts_04_0195__en-us_topic_0180533911_b297811333417">model_size</strong>. Default value: <strong id="modelarts_04_0195__en-us_topic_0180533911_b897903113413">create_at</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row770125319364"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.2.2.5.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p583714716371">order</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p683967153712">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p684214743715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.2.2.2.5.1.4 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p7845157183717">Sorting order. The value can be <strong id="modelarts_04_0195__en-us_topic_0180533911_b10827114544113">asc</strong> or <strong id="modelarts_04_0195__en-us_topic_0180533911_b1382834534117">desc</strong>, indicating the ascending or descending order. Default value: <strong id="modelarts_04_0195__en-us_topic_0180533911_b28291045144113">desc</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row166652375170"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.2.2.5.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p134631412111013">workspace_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p11463512151015">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.5.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p44631112201017">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.2.2.2.5.1.4 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1246391218106">Workspace ID. Default value: <strong id="modelarts_04_0195__en-us_topic_0180533911_b19947185124117">0</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_table1954662185412" frame="border" border="1" rules="all"><caption><b>Table 2 </b><strong id="modelarts_04_0195__en-us_topic_0180533911_b756285718416">get_model_list</strong> parameters</caption><thead align="left"><tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row555142175415"><th align="left" class="cellrowborder" valign="top" width="18%" id="mcps1.3.2.3.2.4.1.1"><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1155315211549">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.2.3.2.4.1.2"><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1355662195410">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="68%" id="mcps1.3.2.3.2.4.1.3"><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1055820214544">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row848065273113"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p248155213111">total_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p114812052153117">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68%" headers="mcps1.3.2.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p174811352103111">Total number of models that meet the search criteria when no paging is implemented</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row1560152115412"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1656210235418">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p2056412225411">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68%" headers="mcps1.3.2.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p15651629549">Number of models</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row17566112185418"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p956913235417">models</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p145716225416"><strong id="modelarts_04_0195__en-us_topic_0180533911_b5342114054317">model</strong> array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68%" headers="mcps1.3.2.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1657311215420">Model metadata</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_table1198992710540" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="modelarts_04_0195__en-us_topic_0180533911_b4431344124312">model</strong> parameters</caption><thead align="left"><tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row129943277545"><th align="left" class="cellrowborder" valign="top" width="17.17171717171717%" id="mcps1.3.3.2.4.1.1"><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p13997192714544">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.14141414141414%" id="mcps1.3.3.2.4.1.2"><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p120128155419">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="68.68686868686868%" id="mcps1.3.3.2.4.1.3"><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1821528145411">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row1252028165418"><td class="cellrowborder" valign="top" width="17.17171717171717%" headers="mcps1.3.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p87228135417">model_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p8101228145417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.68686868686868%" headers="mcps1.3.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p711182814549">Model ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row012112817546"><td class="cellrowborder" valign="top" width="17.17171717171717%" headers="mcps1.3.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p6148282540">model_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p31602825420">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.68686868686868%" headers="mcps1.3.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p161852845411">Model name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row16191728145416"><td class="cellrowborder" valign="top" width="17.17171717171717%" headers="mcps1.3.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p192172820548">model_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p622528175416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.68686868686868%" headers="mcps1.3.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p624172818545">Model version</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row1525142811547"><td class="cellrowborder" valign="top" width="17.17171717171717%" headers="mcps1.3.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p327728165415">model_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1329428145418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.68686868686868%" headers="mcps1.3.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p63142815415">Model type. The value can be <strong id="modelarts_04_0195__en-us_topic_0180533911_b86327565433">TensorFlow</strong>, <strong id="modelarts_04_0195__en-us_topic_0180533911_b156332056104318">MXNet</strong>, <strong id="modelarts_04_0195__en-us_topic_0180533911_b46341756204320">Spark_MLlib</strong>, <strong id="modelarts_04_0195__en-us_topic_0180533911_b2635195614437">Scikit_Learn</strong>, <strong id="modelarts_04_0195__en-us_topic_0180533911_b163517563433">XGBoost</strong>, <strong id="modelarts_04_0195__en-us_topic_0180533911_b18636205684315">MindSpore</strong>, <strong id="modelarts_04_0195__en-us_topic_0180533911_b1163725611438">Image</strong>, or <strong id="modelarts_04_0195__en-us_topic_0180533911_b19637145684315">PyTorch</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row132128115411"><td class="cellrowborder" valign="top" width="17.17171717171717%" headers="mcps1.3.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p533528195413">model_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p337528165418">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.68686868686868%" headers="mcps1.3.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p203813280543">Model size, in bytes</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row133919286541"><td class="cellrowborder" valign="top" width="17.17171717171717%" headers="mcps1.3.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p9416286543">tenant</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p114362817541">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.68686868686868%" headers="mcps1.3.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1445228205417">Tenant to whom a model belongs</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row246122815417"><td class="cellrowborder" valign="top" width="17.17171717171717%" headers="mcps1.3.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p848112835416">project</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1849202845413">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.68686868686868%" headers="mcps1.3.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1951528105412">Project to which a model belongs</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row1052028205417"><td class="cellrowborder" valign="top" width="17.17171717171717%" headers="mcps1.3.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p20542289540">owner</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p256328145419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.68686868686868%" headers="mcps1.3.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p659122855415">User to whom a model belongs</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row66052812541"><td class="cellrowborder" valign="top" width="17.17171717171717%" headers="mcps1.3.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p106262895412">create_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p2645289548">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.68686868686868%" headers="mcps1.3.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p26692819547">Time when a model is created, in milliseconds calculated from 1970.1.1 0:0:0 UTC</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row16717283548"><td class="cellrowborder" valign="top" width="17.17171717171717%" headers="mcps1.3.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1469152895410">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p271192865410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.68686868686868%" headers="mcps1.3.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p272102895411">Model description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_row138991631274"><td class="cellrowborder" valign="top" width="17.17171717171717%" headers="mcps1.3.3.2.4.1.1 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p11899193975">source_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.3.2.4.1.2 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p158991831578">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.68686868686868%" headers="mcps1.3.3.2.4.1.3 "><p id="modelarts_04_0195__en-us_topic_0180533911_en-us_topic_0160574220_p1289913316712">Model source type. This parameter is valid only when the model is deployed by an ExeML project. The value is <strong id="modelarts_04_0195__en-us_topic_0180533911_b1566154316545">auto</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="modelarts_04_0193.html">Model Management</a></div>
|
|
</div>
|
|
</div>
|
|
|