Accuracy Comparison Workflow
The overall accuracy comparison workflow is as follows:
Figure 1 Overall accuracy comparison workflow
- Set up the environment. For details, see Environment Setup.
- Prepare data for comparison. For details, see Data Preparation.
- Inference scenario: Prepare the .npy data files of an original model trained under a third-party framework and the dump data files of the corresponding offline model.
- Training scenario: Prepare the .npy data files of an original model trained under a third-party framework running on the GPUs and the dump data and computational graph files of a training network running on the Ascend AI Processors.
- Perform tensor comparison. For details, see Tensor Comparison.
- Perform network-wide comparison.
Enable the function of MindStudio, configure the prepared comparison data files to the corresponding parameters, and set the comparison parameters.
- MindStudio performs the comparison and outputs the comparison result.
- (Optional) MindStudio Advisor analyzes the comparison result and provides expert suggestions. For details, see Expert Suggestions on Comparison Results.
- Locate the faulty operator based on the analysis result.
- Perform single-operator comparison.
- Analyze the single-operator fault.
- Perform network-wide comparison.
Parent topic: Accuracy Comparison