Performing Model Analysis - 1.4 English

Vitis AI Optimizer User Guide (UG1333)

Document ID
UG1333
Release Date
2021-07-22
Version
1.4 English

A model should be analyzed before conducting a model pruning. The main purpose of this process is to find the optimal pruning strategy to prune the model later. Run the following command to start the analysis:

./vai_p_darknet pruner ana pruning/cfg pruning/yolov3-voc_final.weights

Depending on the size of model and validation dataset, the ana command may take a couple of hours. Running ana with multi-GPU can greatly accelerate the running speed. The following command runs with four GPUs.

./vai_p_darknet pruner ana pruning/cfg pruning/yolov3-voc_final.weights -gpus 0,1,2,3