Skip to content

Commit

Permalink
Fix pytorch profile and add tvm-tflite
Browse files Browse the repository at this point in the history
  • Loading branch information
Ailurus1 authored and pgmpablo157321 committed Oct 3, 2023
1 parent 3c7ec89 commit 15e673d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vision/classification_and_detection/run_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ device="cpu"

for i in $* ; do
case $i in
tf|onnxruntime|tflite|pytorch|tvm-onnx|tvm-pytorch|ncnn) backend=$i; shift;;
tf|onnxruntime|tflite|pytorch|tvm-onnx|tvm-pytorch|tvm-tflite|ncnn) backend=$i; shift;;
cpu|gpu) device=$i; shift;;
gpu) device=gpu; shift;;
resnet50|mobilenet|ssd-mobilenet|ssd-resnet34|ssd-resnet34-tf|retinanet) model=$i; shift;;
Expand Down Expand Up @@ -133,7 +133,7 @@ fi
#
if [ $name == "resnet50-tvm-pytorch" ] ; then
model_path="$MODEL_DIR/resnet50_INT8bit_quantized.pt"
profile=resnet50-onnxruntime
profile=resnet50-pytorch
extra_args="$extra_args --backend tvm"
fi

Expand Down

0 comments on commit 15e673d

Please sign in to comment.