Validate a Model

You are currently viewing the documentation for the latest version (2.6.2). 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 to open Validation Parameter Settings.

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 optimizing according to the hardware, and the model inference will not be accelerated.

    • GPU (optimization): Do model inference after optimizing according to the hardware. The optimization only needs to be done once and is expected to take 1–20 minutes.

  • 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.

  • Float precision

    • FP32: high model accuracy, low inference speed.

    • FP16: low model accuracy, high inference speed.

  • 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, and Unsupervised Segmentation modules: After validation is complete, you can view the validation result count in the Validation statistics section under the Validation tab. Click the View full report button to open the Detailed Report window for more specific 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
    • Text Recognition module: 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.