Label Mapping

You are currently viewing the documentation for the latest version (2.1.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step renames labels through one-to-one mapping of the input classification labels.

label mapping label mapping

Usage Scenario

This Step is used to rename labels.

Input and Output

label mapping input and output

Parameters

Port Settings

Size of Input Ports (1–8)

Parameter description: To set the number of input port in this Step.

Default value: 1

Value range: 1–8

File Settings

Set label mapping is available only when the value of Size of Input Ports is 1.

Label File

Parameter description: To set the label files after label mapping.

Default value: labelmap.json

Instructions:

  1. Click Open the editor to open the JSON Editor window.

  2. Click add, type the label to be renamed in Label before conversion, and click OK. Type the renamed label in Label after conversion and click OK to save the setting. The label is successfully renamed, and the mapping panel will display the correspondence between the two names in the bar.

    If a label includes decimals or special characters, this label cannot be added for conversion and there will be a hint below the mapping panel suggesting that the user input is invalid.

  3. If you still need to rename the label, please repeat the second step until you have added all the labels to be named.

  4. Directory refers to the directory of the current project. Click ... on the right to change the directory of the project according to actual needs.

  5. Name the file in JSON File Name and click Save to save the label in the file.

  6. Click OK to complete the setup.

    If the label file is already renamed beforehand, you can just click the in JSON File Name and select the file to read the mapping relation.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.