From 7e5a4d7dd79399f98247a14f46c1d934549c9fb2 Mon Sep 17 00:00:00 2001
From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu>
Date: Tue, 19 Jan 2021 16:58:13 +0100
Subject: [PATCH] Removed some options for network evaluation.

---
 pysegcnn/main/config.py | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/pysegcnn/main/config.py b/pysegcnn/main/config.py
index 8bf71be..1e4c5a9 100644
--- a/pysegcnn/main/config.py
+++ b/pysegcnn/main/config.py
@@ -370,6 +370,7 @@ tlda_config = {
 
 # the evaluation configuration
 eval_config = {
+
     # -------------------------------------------------------------------------
     # ----------------------------- Evaluation --------------------------------
     # -------------------------------------------------------------------------
@@ -377,8 +378,8 @@ eval_config = {
     # these options are only used for evaluating a trained model using
     # pysegcnn.main.eval.py
 
-    # the model to evaluate
-    'state_file': '',
+    # the model(s) to evaluate
+    'state_files': [''],
 
     # Evaluate on datasets defined at training time ---------------------------
 
@@ -446,25 +447,12 @@ eval_config = {
     #       split_mode="date"
     'predict_scene': True,
 
-    # whether to save plots of (input, ground truth, prediction) for each
-    # sample in the train/validation/test dataset to disk, applies if
-    # predict_scene=False
-    # output path is: pysegcnn/main/_samples/
-    'plot_samples': False,
-
     # whether to save plots of (input, ground truth, prediction) for each scene
     # in the train/validation/test dataset to disk, applies if
     # predict_scene=True
     # output path is: pysegcnn/main/_scenes/
     'plot_scenes': True,
 
-    # whether to create an animation of (input, ground truth, prediction) for
-    # the scenes in the train/validation/test dataset. Useful when predicting a
-    # time-series.
-    # NOTE: this option only works if predict_scene=True and plot_scenes=True
-    # output path is: pysegcnn/main/_animations/
-    'animate': False,
-
     # plot_bands defines the bands used to plot a false color composite of
     # the input scene: red': bands[0], green': bands[1], blue': bands[2]
     'plot_bands': ['nir', 'red', 'green'],
-- 
GitLab