Converting Dump Files into .npy Files
Model Accuracy Analyzer of MindStudio provides the function of converting dump files generated by Ascend AI Processors into .npy files, facilitating data view and accuracy comparison. For details, see Performing Accuracy Comparison Between .npy Files.
- On the MindStudio menu bar, choose to access the conversion configuration page, as shown in the following figure. Table 1 describes the parameters.Figure 1 Conversion configuration (Local Run)
Figure 2 Run configuration (Remote Run)
In Remote Run mode, after setting the run configuration, click Next to enter the conversion configuration page, as shown in Figure 3.
Table 1 Parameters Parameter
Description
Run Mode
- Remote Run
- Local Run
In Windows OSs, only Remote Run is supported and this parameter is not displayed.
Deployment
Run configuration. This parameter is mandatory and is available only when Remote Run is selected. You can use the Deployment function to synchronize the files and folders in a specified project to a specified directory on a remote device. For details, see Ascend Deployment.
Remote Toolkit Path
Installation path of the Ascend-CANN-Toolkit software package in the remote operating environment, available when you select the Remote Run mode. This parameter is mandatory. Example: ${HOME}/Ascend/ascend-toolkit/{version}/toolkit.
This parameter binds with the Deployment parameter. After you click Next, the parameter value is saved. During re-configuration, if Deployment has been configured, the parameters are automatically set and can be manually modified.
Output Path
Local path for storing the generated .npy file. You can configure the path as required.
NPU Dump
Dump file to be converted.
Currently, only one dump file can be converted at a time.
- Click Start. The conversion completion information is displayed in the Output area in the lower part of the MindStudio window, as shown in Figure 4.
The comparison result is stored in the path specified by Output Path (listed in Table 1).

