Manage Algorithm Modules

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.

This topic introduces how to manage algorithm modules in the Mech-DLK, including adding, renaming, copying, moving, importing or exporting algorithm modules, restricting their export, and deleting them.

Add Algorithm Modules

Add an Algorithm Module for a New Project

After creating a new blank project, an Input module will be automatically created in the Modules area in the upper-right corner of the interface. To add a new algorithm module under the Input module, follow these steps:

  1. Select the Input module and click the + button.

  2. In the Add Module window that appears, select the algorithm module that you need.

  3. Click OK.

    add single module

Add Tree-Structured Algorithm Modules

Tree-structured algorithm modules combine multiple algorithm modules in series and parallel within a single project to support complex application scenarios with diverse business requirements. For more details, see Introduction to Tree-Structured Algorithm Modules.

To combine modules, follow these steps:

  1. In the Modules area at the top right corner of the interface, select the module to be combined:

    • To add a serial submodule to a module, select the module.

    • To add a parallel sibling module to a module, select its parent module.

  2. Click the + button.

  3. In the Add Module window that appears, select the algorithm module that you need.

  4. Click OK.

Example description:

  • Add an Object Detection module after the Classification module in series:

    add tree structured module serial
  • Add an Instance Segmentation module in parallel with the Object Detection module:

    add tree structured module parallel

Within tree-structured algorithm modules, serial and parallel connections between modules are subject to the following restrictions:

  • Only the Text Recognition module can be connected in series under a Text Detection module.

  • No other modules can be connected in series after a Text Recognition module.

  • The Pick Anything V2 module and the Object-Bin Segmentation module can only be connected in series with the Input module, but not with other modules.

Rename an Algorithm Module

To rename a module, follow these steps:

  1. In the Modules area in the upper-right corner of the interface, select the module to rename and click Rename in the right-click menu.

  2. In the displayed Rename window, enter the modified module name and click OK.

    rename module

The module name cannot exceed 32 characters, cannot contain special characters, and must not duplicate an existing name.

Copy or Move an Algorithm Module

  • To quickly create multiple modules with the same function or similar configuration at the same level (in parallel), follow these steps to copy a module to the same level:

    In the Modules area in the upper-right corner of the interface, select the target module and click Copy to the Same Level in the right-click menu.

  • To adjust the display order of parallel modules, follow these steps to move a module:

    In the Modules area in the upper-right corner of the interface, select the target module and click Move in the right-click menu.

    You can move the module left, right, to the far left, or to the far right based on its current position.

  • To adjust parent–sub relationships among non-input modules, follow these steps to move a module:

    In the Modules area in the upper-right corner of the interface, select the target module, drag it to the parent module, and release it when the two modules overlap to establish the connection.

    After the module is moved, the parameter settings set in the Import from Previous Module window will be cleared.

Import or Export an Algorithm Module

  • To import a module, follow these steps:

    1. In the Modules area in the upper-right corner of the interface, select the target module and click Import Module in the right-click menu.

    2. Click OK in the displayed dialog box.

      import module
    3. Select the module file to import, and click Open.

  • To export a module, follow these steps:

    1. In the Modules area in the upper-right corner of the interface, select the target module and click Export Module in the right-click menu.

    2. Select an export path for the module, set a file name and click Save.

  • By default, the exported file is named after the module and saved as a compressed file (.zip).

  • The Input module supports only import and export.

  • Only modules of the same algorithm can be imported.

Restrict Export of an Algorithm Module

To exclude models of a module and its submodules when exporting all models, use the Restrict Export function. Once this function is enabled, models of related modules and their submodules are excluded when exporting all models. To export the models of these modules, export them separately.

  • To restrict module export, follow these steps:

    1. In the Modules area in the upper-right corner of the interface, select the module to be restricted and click Restrict Export in the right-click menu.

    2. When the lock icon icon restrict shows on the module, the restriction has been applied successfully.

  • To cancel restriction, follow these steps:

    1. In the Modules area in the upper-right corner of the interface, select the module to unrestrict and click Cancel Restriction in the right-click menu.

    2. When the lock icon icon restrict is no longer shown on the module, the restriction has been canceled successfully.

  • After export restriction is enabled on a parent module, all its submodules are automatically restricted as well.

  • To cancel restriction, you must first cancel the restriction on the parent module. Submodules cannot be canceled individually.

Delete an Algorithm Module

To delete a module, follow these steps:

  1. In the Modules area in the upper-right corner of the interface, select the module to delete and click Delete in the right-click menu.

  2. Click OK in the displayed dialog box.

    delete module

Deleting a module also removes its images, classes, labels, model, and submodules. Once deleted, the data cannot be restored. Please exercise caution.

View Module Details

To view module details, follow these steps:

  1. In the Modules area in the upper-right corner of the interface, click Details.

  2. In the displayed Details window, you can view the module information, validation result summary, and time statistics. Once the validation is complete, the validation time will be displayed in the lower-left corner of the module.

module details

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.