Updated on 2023-03-27 GMT+08:00

Configuring Hard Example Settings

Some skills can collect hard examples. You need to set the hard example parameters before running the skills.

Prerequisites

  • The skill supports hard example upload.
  • You have created a hard example dataset on ModelArts to train the hard example filtering model. For details, see Creating a Dataset.

Setting Hard Examples

  1. In the navigation pane of the Huawei HiLens console, choose Device Management > Devices. In the device list, click the target device card.

    The Skill Management page is displayed by default.

  2. On the Skill Management page, locate the target skill and choose Runtime Configurations in the Operation column.
    Figure 1 Runtime configuration-17
  3. Click Hard Example Settings and enter related information.
    Table 1 Hard example settings

    Parameter

    Description

    Model Name

    Name of a hard example filtering model. You do not need to set this parameter.

    Model Type

    Type of the hard example filtering model, such as image classification and object detection. You do not need to set this parameter.

    Camera

    Hard example data of the specified camera to be uploaded

    Output Dataset

    Dataset for training the hard example filtering model. You need to create a hard example dataset on ModelArts in advance. For details, see Creating a Database.

    Total Sample Size

    Number of samples in the output dataset

    Progress

    Total volume of uploaded hard example data

    Parameter Settings

    Parameter values to be set for the hard example filtering model. Click on the left of the model name and set Value in Parameter Settings. You can click on the right of the parameter name to view the parameter description. See Figure 2.

    Figure 2 Hard example settings
  4. After the configuration is complete, click Execute Configuration in the upper right corner.