Query for Supported Models

Restrictions

  • Obtain supported models from ModelZoo at the Ascend community.

    The MindStudio background uses the request header containing X-HW-ID: com.huawei.biz.idp_public through the URL https://apigw-01.huawei.com/api/ascendcommunity/modelzoo/quickCheck in the ModelZoo.ini file to obtain the supported models at ModelZoo in the Ascend Community.

  • If no valid Ascend-CANN-Toolkit is installed, the two entries in Step 1 are not displayed. Check whether the Ascend-CANN-Toolkit is correctly installed.

Model Query

  1. Enter the model query page in either of the following ways:
    • Choose Ascend > View Supported Models from the main menu.
    • Click on the toolbar.
  2. With Internet access, you can obtain the background information. The pre-trained models are displayed on the Supported Model Info dialog box. See Figure 1. Table 1 describes the parameters in the dialog box.

    If the installed CANN version is earlier than 6.0.RC1 and garbled characters are displayed, refer to How Do I Solve the Problem that Chinese Characters Are Displayed as Garbled Characters and the GUI Is Incompletely Displayed or Is Not Well-Organized? to rectify the fault.

    Figure 1 Information about supported models
    Table 1 Parameters

    Parameter

    Description

    Model Name

    Model name.

    Application Area

    Application field, for example, Image Classification and Object Detection.

    Categories Id

    Application level, for example, official.

    Update Time

    Update time.

    Precision

    Model precision, for example, FP16 and INT8.

    Model Type

    Model type, for example, Offline Model.

    Frame

    Framework, for example, PyTorch and TensorFlow.

    Processor Type

    Processor type.

    Version

    Version

    Download Link

    Download link. You can copy the link to a browser and open it to obtain the corresponding model file.

    Model Format

    Model format, for example, OM or ONNX.

    File Size

    File size.

    You can select a supported information field from the Search by drop-down list or enter a keyword in the text box to search for and filter model information.

    If the background information fails to be obtained or the URL for obtaining the ModelZoo configuration file is changed, perform the following steps:

    • If the background information fails to be obtained, the ModelZoo dialog box is displayed, showing the URL of the ModelZoo, as shown in Figure 2. Users can directly access the URL to query the supported models.
      Figure 2 ModelZoo
    • If the URL for obtaining the ModelZoo configuration file is modified so that the domain name in the URL does not end with .huawei.com, the dialog box shown in Figure 3 is displayed.
      Figure 3 Warning window (example)
      • continue: continues to use the URL to query supported models.
      • exit: exits the query.