From 015a8f06bbed261a39b972a013745fd945cbfc19 Mon Sep 17 00:00:00 2001 From: lijianshe02 Date: Wed, 12 Aug 2020 10:38:19 +0000 Subject: [PATCH] support variable length input --- applications/EDVR/run.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/applications/EDVR/run.sh b/applications/EDVR/run.sh index 3c02639..7f05d6b 100644 --- a/applications/EDVR/run.sh +++ b/applications/EDVR/run.sh @@ -37,21 +37,5 @@ if [ "$mode"x == "predict"x ]; then --use_gpu=$use_gpu \ --video_path='' fi -elif [ "$mode"x == "inference"x ]; then - echo $mode $name $configs $weights - if [ "$weights"x != ""x ]; then - python inference_model.py --model_name=$name \ - --config=$configs \ - --weights=$weights \ - --use_gpu=$use_gpu \ - --save_dir=$save_inference_dir - else - python inference_model.py --model_name=$name \ - --config=$configs \ - --use_gpu=$use_gpu \ - --save_dir=$save_inference_dir - fi -else - echo "Not implemented mode " $mode fi -- GitLab