Files
BPI-CM9-Linux/aml-comp/multimedia/gst-aml-utils/detect-sample/readme_yocto.txt
T

9 lines
593 B
Plaintext

执行方式:
./nnsample_yocto mobilenetv1_subgraph_A9.adla 224x224x3_fish_uint8.bin --base
./nnsample_yocto mobilenetv1_subgraph_A9.adla 224x224x3_fish_uint8.bin --dma
./nnsample_yocto mobilenetv1_subgraph_A9.adla 224x224x3_fish_uint8.bin --softop_acc
./nnsample_yocto mobilenetv1_subgraph_A9.adla 224x224x3_fish_uint8.bin --dynamic_shape
然后将得到的结果跟golden.txt进行对比,一般对比top1标签即可,如果要求更严格,可对比top3或者top5的标准
集成时需要用到我们nn的头文件【nnsdk2.h】,在aml_npu_common仓库中的nnsdk/include位置处