From 8d6f009bae438cf4d22895be4f23f0c2e34b20b8 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Tue, 28 Apr 2020 22:19:46 +0200
Subject: [PATCH] [doc/scripts] Fix xtest script

---
 doc/scripts/xtest.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/doc/scripts/xtest.sh b/doc/scripts/xtest.sh
index 5e409854..6a198c98 100755
--- a/doc/scripts/xtest.sh
+++ b/doc/scripts/xtest.sh
@@ -4,10 +4,9 @@
 
 BOB=$HOME/work/bob/bob.ip.binseg/bin/bob
 
-model=m2unet
 for d in drive stare chasedb1 iostar-vessel hrf; do
     for m in driu hed m2unet unet; do
-        cmd=(${BOB} binseg analyze -vv ${model} "${d}-xtest")
+        cmd=(${BOB} binseg analyze -vv ${m} "${d}-xtest")
         cmd+=("--weight=${m}/${d}/model/model_final.pth")
         cmd+=("--output-folder=${m}/${d}/xtest")
         "${cmd[@]}"
-- 
GitLab