forked from CYYAI/AiInfer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompile_and_run.sh
12 lines (12 loc) · 924 Bytes
/
compile_and_run.sh
1
2
3
4
5
6
7
8
9
10
11
12
# rm -rf build && mkdir -p build && cd build && cmake .. && make -j48 && cd ..
mkdir -p build && cd build && cmake .. && make -j48 && cd ..
cd workspaces
# ./infer -f weights/yolov5_det_dynamic_int8.engine -i res/dog.jpg -b 16 -c 10 -o cuda_res
# ./infer -f weights/yolov6_det_dynamic_int8.engine -i res/dog.jpg -b 16 -c 10 -o cuda_res
# ./infer -f weights/yolov7_det_dynamic_int8.engine -i res/dog.jpg -b 16 -c 10 -o cuda_res
# ./infer -f weights/yolox_det_dynamic_int8.engine -i res/dog.jpg -b 16 -c 10 -o cuda_res
# ./infer -f weights/yolov8n_det_transd_dynamic_int8.engine -i res/dog.jpg -b 16 -c 300 -o cuda_res
# ./infer -f weights/yolov8s-seg_transd_dynamic_int8.engine -i res/dog.jpg -b 16 -c 300 -o cuda_res
# ./infer -f weights/yolov8s-pose_transd_dynamic_int8.engine -i res/bus.jpg -b 16 -c 3000 -o pose_res
# ./infer -f weights/rtdetr_r50vd_6x_coco_dynamic_int8.trt -i res/dog.jpg -b 16 -c 10 -o cuda_res
cd ..