Performing Model Analysis - 2.0 English

Vitis AI Optimizer User Guide (UG1333)

Document ID
UG1333
Release Date
2022-01-20
Version
2.0 English

Analyze the model 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