doc-exports/docs/modelarts/umn/dataprepare-modelarts-0019.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

20 lines
3.8 KiB
HTML

<a name="EN-US_TOPIC_0000002079104385"></a><a name="EN-US_TOPIC_0000002079104385"></a>
<h1 class="topictitle1">Importing Data from Local Files</h1>
<div id="body0000001208844379"><div class="section" id="EN-US_TOPIC_0000002079104385__section113381459132217"><h4 class="sectiontitle">Prerequisites</h4><ul id="EN-US_TOPIC_0000002079104385__ul738713422317"><li id="EN-US_TOPIC_0000002079104385__li1338844142312">You have created a dataset.</li><li id="EN-US_TOPIC_0000002079104385__li18277120915">You have created an OBS bucket. The OBS bucket and ModelArts are in the same region and you can operate the bucket.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000002079104385__section17703124113214"><h4 class="sectiontitle">Import Operation</h4><p id="EN-US_TOPIC_0000002079104385__p12859164852117">Both file and table data can be uploaded from local files. The data uploaded from local files should be stored in an OBS directory. You must have created an OBS bucket.</p>
<p id="EN-US_TOPIC_0000002079104385__p833615225812">In a single batch upload, a maximum of 100 files can be uploaded at a time, and the total size of the files cannot exceed 5 GB.</p>
<p id="EN-US_TOPIC_0000002079104385__en-us_topic_0000001193972801_p10503034142120">The parameters on the GUI for data import vary according to the dataset type. The following uses a dataset of the image classification type as an example.</p>
<ol id="EN-US_TOPIC_0000002079104385__en-us_topic_0000001193972801_ol577418325226"><li id="EN-US_TOPIC_0000002079104385__en-us_topic_0000001193972801_li67741232192212">Log in to the ModelArts management console. In the navigation pane on the left, choose <strong id="EN-US_TOPIC_0000002079104385__b183981885316">Data Management</strong> &gt; <span class="parmname" id="EN-US_TOPIC_0000002079104385__parmname93994811312"><b>Datasets</b></span>.</li><li id="EN-US_TOPIC_0000002079104385__en-us_topic_0000001193972801_li2561048162217">Locate the target dataset and click <strong id="EN-US_TOPIC_0000002079104385__b13381163018313">Import</strong> in the <strong id="EN-US_TOPIC_0000002079104385__b138111301232">Operation</strong> column.<p id="EN-US_TOPIC_0000002079104385__en-us_topic_0000001193972801_p129221731111820">Alternatively, you can click the dataset name to go to the <span class="wintitle" id="EN-US_TOPIC_0000002079104385__wintitle1054772151917"><b>Dashboard</b></span> tab of the dataset, and click <span class="uicontrol" id="EN-US_TOPIC_0000002079104385__uicontrol11324159196"><b>Import</b></span> in the upper right corner.</p>
</li><li id="EN-US_TOPIC_0000002079104385__en-us_topic_0000001193972801_li819356132411">In the <strong id="EN-US_TOPIC_0000002079104385__b36495372415">Import</strong> dialog box, set the parameters as follows and click <strong id="EN-US_TOPIC_0000002079104385__b564918371648">OK</strong>.<ul id="EN-US_TOPIC_0000002079104385__en-us_topic_0000001193972801_ul1991882712913"><li id="EN-US_TOPIC_0000002079104385__en-us_topic_0000001193972801_li864095614298"><strong id="EN-US_TOPIC_0000002079104385__b1615518431151">Data Source</strong>: <strong id="EN-US_TOPIC_0000002079104385__b122271318617">Local file</strong></li><li id="EN-US_TOPIC_0000002079104385__en-us_topic_0000001193972801_li209181427142913"><strong id="EN-US_TOPIC_0000002079104385__b196774341461">Storage Path</strong>: Select an OBS path.</li><li id="EN-US_TOPIC_0000002079104385__en-us_topic_0000001193972801_li1285513193419"><strong id="EN-US_TOPIC_0000002079104385__b16331426679">Uploading Data</strong>: Click <strong id="EN-US_TOPIC_0000002079104385__b106916461373">Upload data</strong>, upload local data, and click <strong id="EN-US_TOPIC_0000002079104385__b11390145714712">OK</strong>.</li></ul>
</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataprepare-modelarts-0007.html">Importing Data</a></div>
</div>
</div>