forked from docs/doc-exports
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>
47 lines
16 KiB
HTML
47 lines
16 KiB
HTML
<a name="EN-US_TOPIC_0000002079180325"></a><a name="EN-US_TOPIC_0000002079180325"></a>
|
|
|
|
<h1 class="topictitle1">Sound Classification</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p82186272712">Model training requires a large amount of labeled data. Therefore, before the model training, label the unlabeled audio files. ModelArts enables you to label audio files in batches by one click. In addition, you can modify the labels of audio files, or remove their labels and label the audio files again.</p>
|
|
<div class="section" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_section139520290612"><h4 class="sectiontitle">Starting Labeling</h4><ol id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_en-us_topic_0000001185384417_ol1332113431875"><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_en-us_topic_0000001185384417_li173221243078">Log in to the ModelArts management console. In the navigation pane on the left, choose <strong id="EN-US_TOPIC_0000002079180325__b191681218594915">Data Management</strong> > <span class="parmname" id="EN-US_TOPIC_0000002079180325__parmname95019085394915"><b>Label Data</b></span>.</li><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_en-us_topic_0000001185384417_li1241123818438">In the labeling job list, select a labeling type from the <strong id="EN-US_TOPIC_0000002079180325__b21937681594915">All type</strong> drop-down list, click the job to be performed based on the labeling type. The details page of the job is displayed.</li><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_en-us_topic_0000001185384417_li1766010993710">The job details page displays all data of the labeling job.</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_section616011413170"><h4 class="sectiontitle">Synchronizing New Data</h4><p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p114233449177">ModelArts automatically synchronizes data and labeling information from datasets to the labeling job.</p>
|
|
<p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p38711841115016">To quickly obtain the latest data in the datasets, in the <span class="parmname" id="EN-US_TOPIC_0000002079180325__parmname62033035994915"><b>Unlabeled</b></span> or <span class="parmname" id="EN-US_TOPIC_0000002079180325__parmname144443110794915"><b>Labeled</b></span> tab of the labeling job details page, click <span class="parmname" id="EN-US_TOPIC_0000002079180325__parmname181558732494915"><b>Synchronize New Data</b></span>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_section888019266174"><h4 class="sectiontitle">Labeling Audio Files</h4><p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p6622193613311">The labeling job details page displays the <strong id="EN-US_TOPIC_0000002079180325__b32087465894915">Unlabeled</strong> and <strong id="EN-US_TOPIC_0000002079180325__b47736825694915">Labeled</strong> tabs. The <strong id="EN-US_TOPIC_0000002079180325__b200152248394915">Unlabeled</strong> tab is displayed by default. Click <span><img id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_image914172651118" src="figure/en-us_image_0000002079101861.png"></span> on the left of the audio to preview the audio.</p>
|
|
<ol id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_ol875212814111"><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li127526819118">In the <span class="wintitle" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_wintitle185381459142416"><b>Unlabeled</b></span> tab, select the audio files to be labeled.<ul id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_ul69481117102519"><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li1794820179259">Manual selection: In the audio list, click the target audio. If the blue check box is displayed in the upper right corner, the audio is selected. You can select multiple audio files of the same type and label them together.</li><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li10959133414269">Batch selection: If all audio files of the current page belong to one type, you can click <span class="parmname" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_parmname1587816487273"><b>Select Current Page</b></span> in the upper right corner of the list to select all the audio files on the page.</li></ul>
|
|
</li><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li189431247173317">Add labels.<ol type="a" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_ol1416695910205"><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li1261324942912">In the label adding area on the right, set a label in the <strong id="EN-US_TOPIC_0000002079180325__b127864963494915">Label</strong> text box.<p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p1938593212309">Method 1 (the required label already exists): In the right pane, select a shortcut from the <strong id="EN-US_TOPIC_0000002079180325__b29206276194915">Shortcut</strong> drop-down list, select an existing label name from the <strong id="EN-US_TOPIC_0000002079180325__b62037409994915">Label</strong> text box, and click <span class="uicontrol" id="EN-US_TOPIC_0000002079180325__uicontrol170104965194915"><b>OK</b></span>.</p>
|
|
<p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p89222530298">Method 2 (adding a label): In the right pane, select a shortcut from the <strong id="EN-US_TOPIC_0000002079180325__b14779171094915">Shortcut</strong> drop-down list, and enter a new label name in the <strong id="EN-US_TOPIC_0000002079180325__b178325859994915">Label</strong> text box.</p>
|
|
</li><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li41013219218">The selected audio files are automatically moved to the <span class="wintitle" id="EN-US_TOPIC_0000002079180325__wintitle55923237594915"><b>Labeled</b></span> tab. In the <span class="wintitle" id="EN-US_TOPIC_0000002079180325__wintitle150080999694915"><b>Unlabeled</b></span> tab, the labeling information is updated along with the labeling process, including the added label names and the number of audio files corresponding to each label.</li></ol>
|
|
<div class="note" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_note208338479493"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p13833184764917"><strong id="EN-US_TOPIC_0000002079180325__b3694182203419">Shortcut key description</strong>: After specifying a shortcut key for a label, you can select an audio file and press the shortcut key to add a label for the audio file. Example: Specify <strong id="EN-US_TOPIC_0000002079180325__b168165268894915">1</strong> as the shortcut key for the <strong id="EN-US_TOPIC_0000002079180325__b96645130594915">aa</strong> label. Select one or more files and press <strong id="EN-US_TOPIC_0000002079180325__b81046649294915">1</strong>. A message is displayed, asking you whether to label the files with <strong id="EN-US_TOPIC_0000002079180325__b204281162094915">aa</strong>. Click <strong id="EN-US_TOPIC_0000002079180325__b111753765594915">OK</strong>.</p>
|
|
<p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p4252554125116">Each label has a shortcut key. A shortcut key cannot be specified for different labels. Shortcut keys can greatly improve the labeling efficiency.</p>
|
|
</div></div>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_section2958731141718"><h4 class="sectiontitle">Viewing the Labeled Audio Files</h4><p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p138711071810">On the labeling job details page, click the <strong id="EN-US_TOPIC_0000002079180325__b9006365194915">Labeled</strong> tab to view the list of labeled audio files. Click an audio file. You can view the label information about the audio file in the <span class="parmname" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_parmname156102338595"><b>File Labels</b></span> area on the right.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_section0534612151819"><h4 class="sectiontitle">Modifying Labeled Data</h4><p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p1981864110595">After labeling data, you can modify labeled data in the <span class="wintitle" id="EN-US_TOPIC_0000002079180325__wintitle106716984811"><b>Labeled</b></span> tab.</p>
|
|
<ul id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_ul814710065510"><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li12147807557"><strong id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_b7115141218212">Modifying based on audio</strong><p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p1123204517125">On the labeling job details page, click the <strong id="EN-US_TOPIC_0000002079180325__b116508894915">Labeled</strong> tab. Select one or more audio files to be modified from the audio list. Modify the label in the label details area on the right.</p>
|
|
<ul id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_ul99437517129"><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li2614184251314">Modifying a label: In the <span class="parmname" id="EN-US_TOPIC_0000002079180325__parmname52350694494915"><b>File Labels</b></span> area, click the edit icon in the <strong id="EN-US_TOPIC_0000002079180325__b144701019694915">Operation</strong> column, enter the correct label name in the text box, and click the check mark to complete the modification.</li><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li945395991312">Deleting a label: In the <span class="parmname" id="EN-US_TOPIC_0000002079180325__parmname110433504994915"><b>File Labels</b></span> area, click the delete icon in the <strong id="EN-US_TOPIC_0000002079180325__b64253057494915">Operation</strong> column to delete the label.</li></ul>
|
|
</li></ul>
|
|
<ul id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_ul141472065510"><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li2014730135520"><strong id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_b19637111442115">Modifying based on labels</strong><p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p144965385189">On the labeling job details page, click the <strong id="EN-US_TOPIC_0000002079180325__b169339621494915">Labeled</strong> tab. The information about all labels is displayed on the right.</p>
|
|
<ul id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_ul1943393102017"><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li1946992912019">Modifying a label: Click the edit icon in the <strong id="EN-US_TOPIC_0000002079180325__b139216371794915">Operation</strong> column. In the displayed dialog box, enter the new label name and click <strong id="EN-US_TOPIC_0000002079180325__b190051919094915">OK</strong>. After the modification, the new label applies to the audio files that contain the original label.</li><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li1147062914207">Deleting a label: Click the deletion icon in the <strong id="EN-US_TOPIC_0000002079180325__b173616477294915">Operation</strong> column. In the displayed dialog box, select the object to be deleted as prompted and click <span class="uicontrol" id="EN-US_TOPIC_0000002079180325__uicontrol71988512894915"><b>OK</b></span>.</li></ul>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_section15984542128"><h4 class="sectiontitle">Adding an Audio File</h4><p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_en-us_topic_0170889731_p266117351147">In addition to synchronizing data, you can directly add data on labeling job details page for labeling.</p>
|
|
<ol id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_en-us_topic_0170889731_ol429210266513"><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_en-us_topic_0170889731_li1924993814520">On the labeling job details page, click the <strong id="EN-US_TOPIC_0000002079180325__b188062998294915">Unlabeled</strong> or <strong id="EN-US_TOPIC_0000002079180325__b207742367794915">Labeled</strong> tab, click <strong id="EN-US_TOPIC_0000002079180325__b65984974894915">Add data</strong> in the upper left corner.</li><li id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_li01454543219">Configure the data source, import mode, and other parameters, and click <span class="uicontrol" id="EN-US_TOPIC_0000002079180325__uicontrol177442900894915"><b>OK</b></span>.<p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p2070881211273">For details about how to import data, see section "Importing Data".</p>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_section15379942161810"><h4 class="sectiontitle">Deleting Audio Files</h4><p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p3752212171611">You can quickly delete the audio files you want to discard.</p>
|
|
<p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p1614812015518">In the <span class="wintitle" id="EN-US_TOPIC_0000002079180325__wintitle184043334594915"><b>Unlabeled</b></span> or <span class="wintitle" id="EN-US_TOPIC_0000002079180325__wintitle111774509394915"><b>Labeled</b></span> tab, select the audio files to be deleted one by one or tick <span class="parmname" id="EN-US_TOPIC_0000002079180325__parmname207444595694915"><b>Select Current Page</b></span> to select all audio files on the page, and then click <span class="uicontrol" id="EN-US_TOPIC_0000002079180325__uicontrol86560546394915"><b>Delete File</b></span> in the upper left corner. In the displayed dialog box, select or deselect <span class="parmname" id="EN-US_TOPIC_0000002079180325__parmname121786909394915"><b>Delete the source files from OBS</b></span> as required. After confirmation, click <span class="uicontrol" id="EN-US_TOPIC_0000002079180325__uicontrol190943096594915"><b>OK</b></span> to delete the audio files.</p>
|
|
<p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p39822052151712">If a tick is displayed in the upper right corner of an audio file, the audio file is selected. If no audio file is selected on the page, the <span class="uicontrol" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_uicontrol87214132115"><b>Delete File</b></span> button is unavailable.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_note1321223211015"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_p1521319321305">If you select <span class="parmname" id="EN-US_TOPIC_0000002079180325__en-us_topic_0000001139785216_parmname13678182571217"><b>Delete the source files from OBS</b></span>, audio files stored in the corresponding OBS directory will be deleted when you delete the selected audio files. Deleting source files may affect other dataset versions or datasets using those files. As a result, the page display, training, or inference is abnormal. Deleted data cannot be recovered. Exercise caution when performing this operation.</p>
|
|
</div></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="datalabel-modelarts_0013.html">Audio Labeling</a></div>
|
|
</div>
|
|
</div>
|
|
|