Files
FastDeploy/tests/timvx/run_test.sh
yeliang2258 81fbd54c9d [Other] Add tests for TIMVX (#1605)
* add tests for timvx

* add mobilenetv1 test

* update code

* fix log info

* update log

* fix test

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-04-14 10:31:36 +08:00

10 lines
596 B
Bash
Executable File

export LD_LIBRARY_PATH=${PWD}/lib
export VIV_VX_ENABLE_GRAPH_TRANSFORM=-pcq:1
export VIV_VX_SET_PER_CHANNEL_ENTROPY=100
./test_clas models/mobilenetv1_ssld_ptq images/ILSVRC2012_val_00000010.jpeg results/mobilenetv1_cls.txt
./test_clas models/resnet50_vd_ptq/ images/ILSVRC2012_val_00000010.jpeg results/resnet50_cls.txt
./test_yolov5 models/yolov5s_ptq_model/ images/000000014439.jpg results/yolov5_result.txt
./test_ppyoloe models/ppyoloe_noshare_qat/ images/000000014439.jpg results/ppyoloe_result.txt
./test_ppliteseg models/ppliteseg images/cityscapes_demo.png results/ppliteseg_result.txt