本节介绍离线推理场景下调优的命令示例。
aoe --framework=0 --model=./resnet18.prototxt --weight=./resnet18.caffemodel --job_type=1
子图调优中断后,希望从上次的已有的调优阶段开始继续调优,则可以选择该模式。
命令示例如下所示:
aoe --framework=0 --model=./resnet18.prototxt --weight=./resnet18.caffemodel --job_type=1 --reload
该命令必须在上次执行调优命令的相同目录下使用。原因是重载调优需要使用上次调优的中间文件,中间文件存放在上次执行调优命令路径下的aoe_workspace目录。
aoe --framework=0 --model=./resnet18.prototxt --weight=./resnet18.caffemodel --job_type=2
更多AOE参数请参见AOE参数说明。