modelarts_umn_20240315
@ -593,8 +593,10 @@
|
||||
"metedata":[
|
||||
{
|
||||
"prodname":"modelarts",
|
||||
"opensource":"true",
|
||||
"documenttype":"usermanual",
|
||||
"IsBot":"No"
|
||||
"IsBot":"No",
|
||||
"IsMulti":"No"
|
||||
}
|
||||
],
|
||||
"title":"Preparing Data",
|
||||
@ -633,8 +635,10 @@
|
||||
"metedata":[
|
||||
{
|
||||
"prodname":"modelarts",
|
||||
"opensource":"true",
|
||||
"documenttype":"usermanual",
|
||||
"IsBot":"No"
|
||||
"IsBot":"No",
|
||||
"IsMulti":"No"
|
||||
}
|
||||
],
|
||||
"title":"Labeling Data",
|
||||
@ -715,8 +719,10 @@
|
||||
"metedata":[
|
||||
{
|
||||
"prodname":"modelarts",
|
||||
"opensource":"true",
|
||||
"documenttype":"usermanual",
|
||||
"IsBot":"No"
|
||||
"IsBot":"No",
|
||||
"IsMulti":"No"
|
||||
}
|
||||
],
|
||||
"title":"Preparing Data",
|
||||
@ -1028,8 +1034,10 @@
|
||||
"metedata":[
|
||||
{
|
||||
"prodname":"modelarts",
|
||||
"opensource":"true",
|
||||
"documenttype":"usermanual",
|
||||
"IsBot":"No"
|
||||
"IsBot":"No",
|
||||
"IsMulti":"No"
|
||||
}
|
||||
],
|
||||
"title":"Object Detection",
|
||||
@ -3206,8 +3214,10 @@
|
||||
"metedata":[
|
||||
{
|
||||
"prodname":"modelarts",
|
||||
"opensource":"true",
|
||||
"documenttype":"usermanual",
|
||||
"IsBot":"No"
|
||||
"IsBot":"No",
|
||||
"IsMulti":"No"
|
||||
}
|
||||
],
|
||||
"title":"Testing a Service",
|
||||
@ -3414,8 +3424,10 @@
|
||||
"metedata":[
|
||||
{
|
||||
"prodname":"modelarts",
|
||||
"opensource":"true",
|
||||
"documenttype":"usermanual",
|
||||
"IsBot":"No"
|
||||
"IsBot":"No",
|
||||
"IsMulti":"No"
|
||||
}
|
||||
],
|
||||
"title":"Specifications for Compiling the Model Configuration File",
|
||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 21 KiB |
BIN
docs/modelarts/umn/en-us_image_0000001799498220.png
Normal file
After Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 209 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 119 KiB |
@ -1,12 +1,12 @@
|
||||
<a name="modelarts_05_0125"></a><a name="modelarts_05_0125"></a>
|
||||
|
||||
<h1 class="topictitle1">What Do I Do If Images in a Dataset Cannot Be Displayed?</h1>
|
||||
<div id="body8662426"><div class="section" id="modelarts_05_0125__section7303249193112"><h4 class="sectiontitle">Symptom</h4><p id="modelarts_05_0125__p6801132072817">Images in a created dataset cannot be displayed during labeling, and they cannot be viewed by clicking them. Alternatively, the system displays a message indicating that an error occurred in image loading.</p>
|
||||
<div id="body8662426"><div class="section" id="modelarts_05_0125__en-us_topic_0240329907_section7303249193112"><h4 class="sectiontitle">Symptom</h4><p id="modelarts_05_0125__en-us_topic_0240329907_p6801132072817">Images in a created dataset cannot be displayed during labeling, and they cannot be viewed by clicking them. Alternatively, the system displays a message indicating that an error occurred in image loading.</p>
|
||||
</div>
|
||||
<div class="section" id="modelarts_05_0125__section13131208321"><h4 class="sectiontitle">Possible Cause</h4><ul id="modelarts_05_0125__ul56664253514"><li id="modelarts_05_0125__li13661242123511">The local network may be faulty. As a result, OBS cannot be accessed and images cannot be loaded.</li><li id="modelarts_05_0125__li1566642183519">You are not allowed to access the target OBS bucket.</li><li id="modelarts_05_0125__li6661742123512">The OBS bucket or file may be encrypted.</li><li id="modelarts_05_0125__li11665427352">The OBS storage class does not allow the parallel file system to process images. Therefore, the thumbnails cannot be displayed.</li></ul>
|
||||
<div class="section" id="modelarts_05_0125__en-us_topic_0240329907_section13131208321"><h4 class="sectiontitle">Possible Causes</h4><ul id="modelarts_05_0125__en-us_topic_0240329907_ul56664253514"><li id="modelarts_05_0125__en-us_topic_0240329907_li13661242123511">The local network may be faulty. As a result, OBS cannot be accessed and images cannot be loaded.</li><li id="modelarts_05_0125__en-us_topic_0240329907_li1566642183519">You are not allowed to access the target OBS bucket.</li><li id="modelarts_05_0125__en-us_topic_0240329907_li6661742123512">The OBS bucket or file may be encrypted.</li><li id="modelarts_05_0125__en-us_topic_0240329907_li11665427352">The OBS storage class does not allow the parallel file system to process images. Therefore, the thumbnails cannot be displayed.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="modelarts_05_0125__section7402141483220"><h4 class="sectiontitle">Solution</h4><ol id="modelarts_05_0125__ol16554192322911"><li id="modelarts_05_0125__li075234811304">The following uses Google Chrome as an example. Press <strong id="modelarts_05_0125__b1871316525818">F12</strong> to open the browser console, locate the image, and copy the image URL.<div class="fignone" id="modelarts_05_0125__fig9151187154915"><span class="figcap"><b>Figure 1 </b>Obtaining the image URL</span><br><span><img id="modelarts_05_0125__image3492115618482" src="en-us_image_0000001846138745.png" width="498.351" height="240.712577"></span></div>
|
||||
</li><li id="modelarts_05_0125__li855417231297">Enter the URL in a new browser. The "Your Connection Is Not Private" message is displayed. Click <strong id="modelarts_05_0125__b1296117156129">Advanced</strong> on the page and choose <strong id="modelarts_05_0125__b78041720151215">Proceed to <link> (unsafe)</strong> to go to the target website.</li><li id="modelarts_05_0125__li1997203093710">After the image is successfully accessed, return to the ModelArts console to access the dataset. The image is displayed.</li></ol>
|
||||
<div class="section" id="modelarts_05_0125__en-us_topic_0240329907_section7402141483220"><h4 class="sectiontitle">Solution</h4><ol id="modelarts_05_0125__en-us_topic_0240329907_ol16554192322911"><li id="modelarts_05_0125__en-us_topic_0240329907_li075234811304">The following uses Google Chrome as an example. Press <strong id="modelarts_05_0125__b72205613478">F12</strong> to open the browser console, locate the image, and copy the image URL.<div class="fignone" id="modelarts_05_0125__en-us_topic_0240329907_fig9151187154915"><span class="figcap"><b>Figure 1 </b>Obtaining the image URL</span><br><span><img id="modelarts_05_0125__en-us_topic_0240329907_image3492115618482" src="en-us_image_0000001799498220.png" height="224.46410000000003" width="469.49"></span></div>
|
||||
</li><li id="modelarts_05_0125__en-us_topic_0240329907_li855417231297">Enter the URL in a new browser. The "Your Connection Is Not Private" message is displayed. Click <strong id="modelarts_05_0125__b1425061014489">Advanced</strong> on the page and choose <strong id="modelarts_05_0125__b92501910104813">Proceed to <link> (unsafe)</strong> to go to the target website.</li><li id="modelarts_05_0125__en-us_topic_0240329907_li1997203093710">After the image is successfully accessed, return to the ModelArts console to access the dataset. The image is displayed.</li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
@ -29,7 +29,7 @@
|
||||
<p id="modelarts_23_0011__en-us_topic_0170889731_p116191052165515">Deleting a label: In the <span class="parmname" id="modelarts_23_0011__en-us_topic_0170889731_parmname9338160145515"><b>Labels of Selected Images</b></span> area, click the delete icon in the <strong id="modelarts_23_0011__en-us_topic_0170889731_b1533815085518">Operation</strong> column to delete the label. This operation deletes only the labels added to the selected image.</p>
|
||||
</li></ul>
|
||||
<ul id="modelarts_23_0011__en-us_topic_0170889731_en-us_topic_0170889731_ul141472065510"><li id="modelarts_23_0011__en-us_topic_0170889731_en-us_topic_0170889731_li2014730135520"><strong id="modelarts_23_0011__en-us_topic_0170889731_b41494537505">Modifying based on labels</strong><p id="modelarts_23_0011__en-us_topic_0170889731_en-us_topic_0170889731_p144965385189">On the dataset details page, click the <strong id="modelarts_23_0011__en-us_topic_0170889731_b1670935719487">Labeled</strong> tab. The information about all labels is displayed on the right.</p>
|
||||
<ul id="modelarts_23_0011__en-us_topic_0170889731_en-us_topic_0170889731_ul1943393102017"><li id="modelarts_23_0011__en-us_topic_0170889731_en-us_topic_0170889731_li1946992912019">Modifying a label: Click the edit icon in the <strong id="modelarts_23_0011__en-us_topic_0170889731_b79611651296">Operation</strong> column. In the dialog box that is displayed, enter the new label name and click <strong id="modelarts_23_0011__en-us_topic_0170889731_b1296120511398">OK</strong>. After the modification, the images that have been added with the label use the new label name.</li><li id="modelarts_23_0011__en-us_topic_0170889731_en-us_topic_0170889731_li1147062914207">Deleting a label: Click the delete icon in the <strong id="modelarts_23_0011__en-us_topic_0170889731_b94871912713">Operation</strong> column. In the displayed dialog box, select <span class="parmvalue" id="modelarts_23_0011__en-us_topic_0170889731_parmvalue114881311375"><b>Delete the label</b></span>, <span class="parmvalue" id="modelarts_23_0011__en-us_topic_0170889731_parmvalue154901211578"><b>Delete the label and the images that only have this label, but do not delete source files</b></span>, or <span class="parmvalue" id="modelarts_23_0011__en-us_topic_0170889731_parmvalue124916111714"><b>Delete the label and the images that onlyhave this label and also delete source files</b></span>, and click <span class="uicontrol" id="modelarts_23_0011__en-us_topic_0170889731_uicontrol174921611976"><b>OK</b></span>.</li></ul>
|
||||
<ul id="modelarts_23_0011__en-us_topic_0170889731_en-us_topic_0170889731_ul1943393102017"><li id="modelarts_23_0011__en-us_topic_0170889731_en-us_topic_0170889731_li1946992912019">Modifying a label: Click the edit icon in the <strong id="modelarts_23_0011__en-us_topic_0170889731_b79611651296">Operation</strong> column. In the dialog box that is displayed, enter the new label name and click <strong id="modelarts_23_0011__en-us_topic_0170889731_b1296120511398">OK</strong>. After the modification, the images that have been added with the label use the new label name.</li><li id="modelarts_23_0011__en-us_topic_0170889731_en-us_topic_0170889731_li1147062914207">Deleting a label: Click the delete icon in the <strong id="modelarts_23_0011__en-us_topic_0170889731_b94871912713">Operation</strong> column. In the displayed dialog box, select <span class="parmvalue" id="modelarts_23_0011__en-us_topic_0170889731_parmvalue114881311375"><b>Delete the label</b></span>, <span class="parmvalue" id="modelarts_23_0011__en-us_topic_0170889731_parmvalue154901211578"><b>Delete the label and the images that only have this label, but do not delete source files</b></span>, or <span class="parmvalue" id="modelarts_23_0011__en-us_topic_0170889731_parmvalue124916111714"><b>Delete the label and the images that only have this label and also delete source files</b></span>, and click <span class="uicontrol" id="modelarts_23_0011__en-us_topic_0170889731_uicontrol174921611976"><b>OK</b></span>.</li></ul>
|
||||
</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -94,7 +94,7 @@
|
||||
</tr>
|
||||
<tr id="modelarts_23_0093__en-us_topic_0172466150_row79900716522"><td class="cellrowborder" valign="top" width="26.36%" headers="mcps1.3.2.2.2.1.2.3.1.1 "><p id="modelarts_23_0093__en-us_topic_0172466150_p1199097165217">_inference(self, data)</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="73.64%" headers="mcps1.3.2.2.2.1.2.3.1.2 "><p id="modelarts_23_0093__en-us_topic_0172466150_p209905755218">Inference request method. You are not advised to rewrite the method because once the method is rewritten, the built-in inference process of ModelArts will be overwritten and the custom inference logic will run.</p>
|
||||
<td class="cellrowborder" valign="top" width="73.64%" headers="mcps1.3.2.2.2.1.2.3.1.2 "><p id="modelarts_23_0093__en-us_topic_0172466150_p209905755218">Inference request method. You are advised not to rewrite the method because once the method is rewritten, the ModelArts built-in inference process will be overwritten and the custom inference logic will run.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="modelarts_23_0093__en-us_topic_0172466150_row1499097145219"><td class="cellrowborder" valign="top" width="26.36%" headers="mcps1.3.2.2.2.1.2.3.1.1 "><p id="modelarts_23_0093__en-us_topic_0172466150_p19901173520">_postprocess(self, data)</p>
|
||||
|
@ -17,7 +17,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.3.2.4.1.2 "><p id="modelarts_23_0100__en-us_topic_0172873542_p715417479575">String array</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="62%" headers="mcps1.3.2.3.2.4.1.3 "><p id="modelarts_23_0100__en-us_topic_0172873542_p115414715573">Types of detected objects, for example, <strong id="modelarts_23_0100__b1663229162019">["bicycle","bus"]</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="62%" headers="mcps1.3.2.3.2.4.1.3 "><p id="modelarts_23_0100__p137921435105315">Types of detected objects, for example, <strong id="modelarts_23_0100__b471915389612">["bicycle","bus"]</strong></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="modelarts_23_0100__en-us_topic_0172873542_row12154154718574"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.4.1.1 "><p id="modelarts_23_0100__en-us_topic_0172873542_p215444715720">detection_boxes</p>
|
||||
|
@ -11,13 +11,13 @@
|
||||
<div class="section" id="modelarts_30_0038__section97911985211"><a name="modelarts_30_0038__section97911985211"></a><a name="section97911985211"></a><h4 class="sectiontitle">Step 2 Use PuTTYgen to Convert the .pem Key Pair File to a .ppk Key Pair File</h4><ol id="modelarts_30_0038__ol2924165095217"><li id="modelarts_30_0038__li139240501521"><a href="https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html" target="_blank" rel="noopener noreferrer">Download PuTTYgen</a> and double-click it to run it.</li><li id="modelarts_30_0038__li2924450205218">Click <strong id="modelarts_30_0038__b5564143315404">Load</strong> to load the .pem key file created and saved during notebook instance creation.</li><li id="modelarts_30_0038__li2925175055217">Click <strong id="modelarts_30_0038__b656545024113">Save private key</strong> to save the generated .ppk file. The file name can be customized, for example, <strong id="modelarts_30_0038__b45511114144220">key.ppk</strong>.<div class="fignone" id="modelarts_30_0038__fig6566191511546"><span class="figcap"><b>Figure 2 </b>Converting the .pem key pair file to a .ppk key pair file</span><br><span><img id="modelarts_30_0038__image69211404547" src="en-us_image_0000001799338312.png" width="498.351" height="393.031758"></span></div>
|
||||
</li></ol>
|
||||
</div>
|
||||
<div class="section" id="modelarts_30_0038__section189961429185420"><h4 class="sectiontitle">Step 3 Use SSH to Connect to a Notebook Instance</h4><ol id="modelarts_30_0038__ol623614845511"><li id="modelarts_30_0038__li52366895512">Run PuTTY.</li><li id="modelarts_30_0038__li19236583552">Click <strong id="modelarts_30_0038__b14025964310">Session</strong> and set the following parameters:<ol type="a" id="modelarts_30_0038__ol172063417562"><li id="modelarts_30_0038__li98898315566"><strong id="modelarts_30_0038__b713533618447">Host Name (or IP address)</strong>: address for accessing the in-cloud notebook instance. Obtain the address on the page providing detailed information of the target notebook instance, for example, <strong id="modelarts_30_0038__b3773944154615">dev-modelarts-cnnorth4.huaweicloud.com</strong>.</li><li id="modelarts_30_0038__li10890173113565"><strong id="modelarts_30_0038__b75991375481">Port</strong>: port number for accessing the in-cloud notebook instance. Obtain the port number on the page providing detailed information of the target notebook instance, for example, <strong id="modelarts_30_0038__b1621620265490">32701</strong>.</li><li id="modelarts_30_0038__li1689111315567"><strong id="modelarts_30_0038__b12329152310499">Connection type</strong>: <strong id="modelarts_30_0038__b3330122304911">SSH</strong></li><li id="modelarts_30_0038__li88911531105612"><strong id="modelarts_30_0038__b2098934134913">Saved Sessions</strong>: task name, which can be clicked for remote connection when you use PuTTY next time</li></ol>
|
||||
<div class="fignone" id="modelarts_30_0038__fig154334326217"><span class="figcap"><b>Figure 3 </b>Configuring <strong id="modelarts_30_0038__b28943285509">Session</strong></span><br><span><img id="modelarts_30_0038__image18715554416" src="en-us_image_0000001799498076.png" width="NaN" height="NaN"></span></div>
|
||||
</li><li id="modelarts_30_0038__li10360195715563">Choose <strong id="modelarts_30_0038__b16208517125120">Window</strong> > <strong id="modelarts_30_0038__b415771965111">Translation</strong> and select <strong id="modelarts_30_0038__b79002029165117">UTF-8</strong> from the drop-down list box in the <strong id="modelarts_30_0038__b136201604522">Remote character set</strong> area.<div class="fignone" id="modelarts_30_0038__fig146371512124418"><span class="figcap"><b>Figure 4 </b>Setting the character format</span><br><span><img id="modelarts_30_0038__image28981764444" src="en-us_image_0000001846057169.png" width="NaN" height="NaN"></span></div>
|
||||
</li><li id="modelarts_30_0038__li296945818564">Choose <strong id="modelarts_30_0038__b12258857125216">Connection</strong> > <strong id="modelarts_30_0038__b10373165945215">Data</strong> and enter <strong id="modelarts_30_0038__b1634218375310">ma-user</strong> for <strong id="modelarts_30_0038__b1765631035317">Auto-login username</strong>.<div class="fignone" id="modelarts_30_0038__fig359516471018"><span class="figcap"><b>Figure 5 </b>Entering a username</span><br><span><img id="modelarts_30_0038__image46601520135710" src="en-us_image_0000001846137225.png" width="NaN" height="NaN"></span></div>
|
||||
<div class="section" id="modelarts_30_0038__section189961429185420"><h4 class="sectiontitle">Step 3 Use SSH to Connect to a Notebook Instance</h4><ol id="modelarts_30_0038__ol623614845511"><li id="modelarts_30_0038__li52366895512">Run PuTTY.</li><li id="modelarts_30_0038__li19236583552">Click <strong id="modelarts_30_0038__b14025964310">Session</strong> and set the following parameters:<ol type="a" id="modelarts_30_0038__ol172063417562"><li id="modelarts_30_0038__li98898315566"><strong id="modelarts_30_0038__b713533618447">Host Name (or IP address)</strong>: address for accessing the in-cloud notebook instance. Obtain the address on the page providing detailed information of the target notebook instance,</li><li id="modelarts_30_0038__li10890173113565"><strong id="modelarts_30_0038__b75991375481">Port</strong>: port number for accessing the in-cloud notebook instance. Obtain the port number on the page providing detailed information of the target notebook instance, for example, <strong id="modelarts_30_0038__b1621620265490">32701</strong>.</li><li id="modelarts_30_0038__li1689111315567"><strong id="modelarts_30_0038__b12329152310499">Connection type</strong>: <strong id="modelarts_30_0038__b3330122304911">SSH</strong></li><li id="modelarts_30_0038__li88911531105612"><strong id="modelarts_30_0038__b2098934134913">Saved Sessions</strong>: task name, which can be clicked for remote connection when you use PuTTY next time</li></ol>
|
||||
<div class="fignone" id="modelarts_30_0038__fig154334326217"><span class="figcap"><b>Figure 3 </b>Configuring <strong id="modelarts_30_0038__b28943285509">Session</strong></span><br><span><img id="modelarts_30_0038__image18715554416" src="en-us_image_0000001799498076.png"></span></div>
|
||||
</li><li id="modelarts_30_0038__li10360195715563">Choose <strong id="modelarts_30_0038__b16208517125120">Window</strong> > <strong id="modelarts_30_0038__b415771965111">Translation</strong> and select <strong id="modelarts_30_0038__b79002029165117">UTF-8</strong> from the drop-down list box in the <strong id="modelarts_30_0038__b136201604522">Remote character set</strong> area.<div class="fignone" id="modelarts_30_0038__fig146371512124418"><span class="figcap"><b>Figure 4 </b>Setting the character format</span><br><span><img id="modelarts_30_0038__image28981764444" src="en-us_image_0000001846057169.png"></span></div>
|
||||
</li><li id="modelarts_30_0038__li296945818564">Choose <strong id="modelarts_30_0038__b12258857125216">Connection</strong> > <strong id="modelarts_30_0038__b10373165945215">Data</strong> and enter <strong id="modelarts_30_0038__b1634218375310">ma-user</strong> for <strong id="modelarts_30_0038__b1765631035317">Auto-login username</strong>.<div class="fignone" id="modelarts_30_0038__fig359516471018"><span class="figcap"><b>Figure 5 </b>Entering a username</span><br><span><img id="modelarts_30_0038__image46601520135710" src="en-us_image_0000001846137225.png"></span></div>
|
||||
</li><li id="modelarts_30_0038__li591065819574">Choose <strong id="modelarts_30_0038__b6418859135418">Connection</strong> > <strong id="modelarts_30_0038__b149293116552">SSH</strong> > <strong id="modelarts_30_0038__b196661418559">Auth</strong>, click <strong id="modelarts_30_0038__b45601013135512">Browse</strong>, and select the .ppk file generated in <a href="#modelarts_30_0038__section97911985211">step 2</a>.<p id="modelarts_30_0038__p1053271018311"><span><img id="modelarts_30_0038__image976011133116" src="en-us_image_0000001799498084.png"></span></p>
|
||||
</li><li id="modelarts_30_0038__li1553921515919">Click <strong id="modelarts_30_0038__b159361712135619">Open</strong>. If you are logging in to the instance for the first time, PuTTY displays a security warning dialog box, asking if you want to accept the instance security certificate. Click <strong id="modelarts_30_0038__b7849123714112">Accept</strong> to save the certificate to your local registry.<div class="fignone" id="modelarts_30_0038__fig4674171213117"><span class="figcap"><b>Figure 6 </b>Asking if you want to accept the instance security certificate</span><br><span><img id="modelarts_30_0038__image16921168115811" src="en-us_image_0000001799338300.png" width="NaN" height="NaN"></span></div>
|
||||
</li><li id="modelarts_30_0038__li1143762914592">Connect to the notebook instance.<div class="fignone" id="modelarts_30_0038__fig94678191011"><span class="figcap"><b>Figure 7 </b>Connecting to a notebook instance</span><br><span><img id="modelarts_30_0038__image92714127019" src="en-us_image_0000001799338336.png" width="498.351" height="264.59685"></span></div>
|
||||
</li><li id="modelarts_30_0038__li1553921515919">Click <strong id="modelarts_30_0038__b159361712135619">Open</strong>. If you are logging in to the instance for the first time, PuTTY displays a security warning dialog box, asking if you want to accept the instance security certificate. Click <strong id="modelarts_30_0038__b7849123714112">Accept</strong> to save the certificate to your local registry.<div class="fignone" id="modelarts_30_0038__fig4674171213117"><span class="figcap"><b>Figure 6 </b>Asking if you want to accept the instance security certificate</span><br><span><img id="modelarts_30_0038__image16921168115811" src="en-us_image_0000001799338300.png"></span></div>
|
||||
</li><li id="modelarts_30_0038__li1143762914592">Connect to the notebook instance.<div class="fignone" id="modelarts_30_0038__fig94678191011"><span class="figcap"><b>Figure 7 </b>Connecting to a notebook instance</span><br><span><img id="modelarts_30_0038__image92714127019" src="en-us_image_0000001799338336.png" height="248.6036" width="469.49"></span></div>
|
||||
</li></ol>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -6,8 +6,7 @@
|
||||
<div class="section" id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_en-us_topic_0192056517_section1237061220324"><h4 class="sectiontitle">Possible Causes</h4><p id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_en-us_topic_0192056517_p5538746153414">The possible causes are as follows:</p>
|
||||
<ul id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_en-us_topic_0192056517_ul9538346163413"><li id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_li4847125410151">Certain pip packages in the pip source have been updated, leading to data incompatibility. For example, an error occurs when the transformers package is imported after the package update.</li><li id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_li18986526471">The user code has a bug, leading to memory overwriting or unauthorized memory access.</li><li id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_li108613549470">An unknown system error occurs. In this case, create the training job again. If the fault persists, submit a service ticket.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_en-us_topic_0192056517_section520813413313"><h4 class="sectiontitle">Solution</h4><ol id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_ol161718111364"><li id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_li13544323125510">If the training job succeeded before and no modification has been made, compare the logs in the two cases and check whether any dependency package has been updated in the pip source.<div class="fignone" id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_fig8855826182"><span class="figcap"><b>Figure 1 </b>Log comparison</span><br><span><img id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_image132683374314" src="en-us_image_0000001799499028.png" width="469.49" height="144.16614800000002"></span></div>
|
||||
</li><li id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_li16926233378">Use the local PyCharm to remotely connect to the notebook for debugging.</li><li id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_li371414107598">If the fault persists, contact technical support engineers.</li></ol>
|
||||
<div class="section" id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_en-us_topic_0192056517_section520813413313"><h4 class="sectiontitle">Solution</h4><ol id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_ol161718111364"><li id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_li13544323125510">If the training job succeeded before and no modification has been made, compare the logs in the two cases and check whether any dependency package has been updated in the pip source.</li><li id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_li16926233378">Use the local PyCharm to remotely connect to the notebook for debugging.</li><li id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_li371414107598">If the fault persists, contact technical support engineers.</li></ol>
|
||||
</div>
|
||||
<div class="section" id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_en-us_topic_0192056517_section8898183420"><h4 class="sectiontitle">Summary and Suggestions</h4><p id="modelarts_trouble_0039__en-us_topic_0000001192988251_en-us_topic_0000001136030170_en-us_topic_0000001143177048_p1141444753416">Before creating a training job, use the ModelArts development environment to debug the training code to maximally eliminate errors in code migration.</p>
|
||||
</div>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Error Message "ValueError: Invalid endpoint: obs.xxxx.com" Displayed in Logs</h1>
|
||||
<div id="body8662426"><div class="section" id="modelarts_trouble_0048__en-us_topic_0000001146908616_en-us_topic_0000001136103500_en-us_topic_0192056517_section117424454313"><h4 class="sectiontitle">Symptom</h4><p id="modelarts_trouble_0048__en-us_topic_0000001146908616_en-us_topic_0000001136103500_p5385122020145">When TensorBoard is used to directly write data in an OBS path for a training job, an error similar to the following is displayed.</p>
|
||||
<div class="fignone" id="modelarts_trouble_0048__en-us_topic_0000001146908616_en-us_topic_0000001136103500_fig1389429181514"><span class="figcap"><b>Figure 1 </b>Error log</span><br><span><img id="modelarts_trouble_0048__en-us_topic_0000001146908616_en-us_topic_0000001136103500_image731857111517" src="en-us_image_0000001846137705.png" width="469.49" height="295.78402"></span></div>
|
||||
<div class="fignone" id="modelarts_trouble_0048__en-us_topic_0000001146908616_en-us_topic_0000001136103500_fig1389429181514"><span class="figcap"><b>Figure 1 </b>Error log</span><br><span><img id="modelarts_trouble_0048__en-us_topic_0000001146908616_en-us_topic_0000001136103500_image731857111517" src="en-us_image_0000001846137705.png" height="295.1137" width="469.49"></span></div>
|
||||
</div>
|
||||
<div class="section" id="modelarts_trouble_0048__en-us_topic_0000001146908616_en-us_topic_0000001136103500_en-us_topic_0192056517_section1237061220324"><h4 class="sectiontitle">Possible Causes</h4><p id="modelarts_trouble_0048__en-us_topic_0000001146908616_en-us_topic_0000001136103500_en-us_topic_0192056517_p5538746153414">The possible causes are as follows:</p>
|
||||
<p id="modelarts_trouble_0048__en-us_topic_0000001146908616_en-us_topic_0000001136103500_p4643114517417">It is unstable to directly write data into the TensorBoard file in OBS.</p>
|
||||
|