Validate a Model

You are currently viewing the documentation for the latest version (3.0.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.

After you train a model, you can validate it in the Validation tab. This topic describes how to configure validation parameters, validate models, and view the validation results.

Configure Validation Parameters

Click training parameter icon on the right side of Validation Parameter Settings to open the Validation Parameter Settings window.

validation parameter configuration

You can configure the following parameters:

  • Hardware type

    • CPU: Use CPU for deep learning model inference, which will increase inference time and reduce recognition accuracy compared with GPU.

    • GPU (default): Do model inference without optimization based on the hardware, and the model inference will not be accelerated.

    • GPU (FP16 optimization): Do model inference with FP16 precision optimization based on the hardware, requiring only one optimization (about 5–15 minutes). It is suitable for scenarios with high requirements for model inference speed.

    • GPU (FP32 optimization): Do model inference with FP32 precision optimization based on the hardware, requiring only one optimization (about 5–15 minutes). It is suitable for scenarios with high requirements for model recognition accuracy.

  • GPU ID

    The graphics card information of the device deployed by the user. If multiple GPUs are available on the model deployment device, the model can be deployed on a specified GPU.

  • Max num of inference objects (only visible in the Instance Segmentation module and Object Detection module)

    The maximum number of inference objects during a round of inference.

Validate a Model

After you configure the parameters, click OK to save the settings. On the lower part of the Validation tab, click the Validate button and wait for the validation to complete.

View the Validation Results

  1. After the validation is completed, you can view or filter the validation results in the Validation tab.

    view validation result1
  2. Click View full report to open the detailed report window. In the bottom-right corner of the window, click the Export report button to export the detailed report to your local device.

    For Instance Segmentation, Defect Segmentation, Classification, Object Detection, Text Detection, Unsupervised Segmentation, Pick Anything V2, and Object-Bin Segmentation modules, the following operations can be performed:

    • After validation is complete, you can view the validation result quantity statistics in the Validation statistics section under the Validation tab.

    • Click the View full report button to open the Detailed Report window and view detailed validation statistics.

    • The Statistical matrix in the report shows the correspondence between the validated data and labeled data of the model, allowing you to assess how well each class is matched by the model.

    • In the matrix, the vertical axis represents labeled data, and the horizontal axis represents predicted results. Blue cells indicate matches between predictions and labels, while the other cells represent mismatches, which can provide insights for model optimization.

    • Clicking a value in the matrix will automatically filter the image list in the main interface to display only the images corresponding to the selected value.

    view validation result2

    For the Text Recognition module, the following operations can be performed:

    You can view the validation result quantity statistics and time consumption statistics in the Detailed Report window.

    view validation result3

Is this page helpful?

You can give a feedback in any of the following ways:

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.