From 1a58d763f7964175554b868d81e9a08157d5719a Mon Sep 17 00:00:00 2001
From: Michael <m.langguth@fz-juelich.de>
Date: Thu, 20 May 2021 17:10:55 +0200
Subject: [PATCH] Remove sequence_length from add hyperparameter templates
 since it is set automatically now.

---
 .../hparams/era5/convLSTM/model_hparams_template.json         | 1 -
 .../hparams/era5/mcnet/model_hparams_template.json            | 4 +---
 .../hparams/era5/ours_gan/model_hparams_template.json         | 3 +--
 .../hparams/era5/ours_vae_l1/model_hparams_template.json      | 4 +---
 .../hparams/era5/savp/model_hparams_template.json             | 3 +--
 .../hparams/era5/vae/model_hparams_template.json              | 1 -
 .../hparams/moving_mnist/convLSTM/model_hparams.json          | 1 -
 .../hparams/moving_mnist/convLSTM/model_hparams_template.json | 1 -
 8 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/video_prediction_tools/hparams/era5/convLSTM/model_hparams_template.json b/video_prediction_tools/hparams/era5/convLSTM/model_hparams_template.json
index e527c83e..878c29a0 100644
--- a/video_prediction_tools/hparams/era5/convLSTM/model_hparams_template.json
+++ b/video_prediction_tools/hparams/era5/convLSTM/model_hparams_template.json
@@ -6,7 +6,6 @@
     "context_frames":10,
     "loss_fun":"rmse",
     "shuffle_on_val":false
-
 }
 
 
diff --git a/video_prediction_tools/hparams/era5/mcnet/model_hparams_template.json b/video_prediction_tools/hparams/era5/mcnet/model_hparams_template.json
index c2edaad9..0b3788d7 100644
--- a/video_prediction_tools/hparams/era5/mcnet/model_hparams_template.json
+++ b/video_prediction_tools/hparams/era5/mcnet/model_hparams_template.json
@@ -3,9 +3,7 @@
     "batch_size": 10,
     "lr": 0.001,
     "max_epochs":2,
-    "context_frames":10,
-    "sequence_length":20
-
+    "context_frames":10
 }
 
 
diff --git a/video_prediction_tools/hparams/era5/ours_gan/model_hparams_template.json b/video_prediction_tools/hparams/era5/ours_gan/model_hparams_template.json
index c19ecf6d..0ccf44e6 100644
--- a/video_prediction_tools/hparams/era5/ours_gan/model_hparams_template.json
+++ b/video_prediction_tools/hparams/era5/ours_gan/model_hparams_template.json
@@ -13,6 +13,5 @@
     "state_weight": 0.0,
     "nz": 32,
     "max_epochs":2,
-    "context_frames":12,
-    "sequence_length":24
+    "context_frames":12
 }
diff --git a/video_prediction_tools/hparams/era5/ours_vae_l1/model_hparams_template.json b/video_prediction_tools/hparams/era5/ours_vae_l1/model_hparams_template.json
index 0acefc42..8e96727e 100644
--- a/video_prediction_tools/hparams/era5/ours_vae_l1/model_hparams_template.json
+++ b/video_prediction_tools/hparams/era5/ours_vae_l1/model_hparams_template.json
@@ -11,7 +11,5 @@
     "state_weight": 0.0,
     "nz": 32,
     "max_epochs":2,
-    "context_frames":10,
-    "sequence_length":20
-
+    "context_frames":10
 }
diff --git a/video_prediction_tools/hparams/era5/savp/model_hparams_template.json b/video_prediction_tools/hparams/era5/savp/model_hparams_template.json
index d7058c6b..d182658a 100644
--- a/video_prediction_tools/hparams/era5/savp/model_hparams_template.json
+++ b/video_prediction_tools/hparams/era5/savp/model_hparams_template.json
@@ -13,8 +13,7 @@
     "state_weight": 0.0,
     "nz": 16,
     "max_epochs":2,
-    "context_frames":10,
-    "sequence_length":20
+    "context_frames":10
 }
 
 
diff --git a/video_prediction_tools/hparams/era5/vae/model_hparams_template.json b/video_prediction_tools/hparams/era5/vae/model_hparams_template.json
index 1afb4d43..2dcecd34 100644
--- a/video_prediction_tools/hparams/era5/vae/model_hparams_template.json
+++ b/video_prediction_tools/hparams/era5/vae/model_hparams_template.json
@@ -5,7 +5,6 @@
     "nz":16,
     "max_epochs":2,
     "context_frames":10,
-    "sequence_length":20,
     "weight_recon":1,
     "loss_fun": "rmse",
     "shuffle_on_val": false
diff --git a/video_prediction_tools/hparams/moving_mnist/convLSTM/model_hparams.json b/video_prediction_tools/hparams/moving_mnist/convLSTM/model_hparams.json
index b59f6cb2..6cda5552 100644
--- a/video_prediction_tools/hparams/moving_mnist/convLSTM/model_hparams.json
+++ b/video_prediction_tools/hparams/moving_mnist/convLSTM/model_hparams.json
@@ -4,7 +4,6 @@
     "lr": 0.001,
     "max_epochs":20,
     "context_frames":10,
-    "sequence_length":20,
     "loss_fun":"cross_entropy"
 }
 
diff --git a/video_prediction_tools/hparams/moving_mnist/convLSTM/model_hparams_template.json b/video_prediction_tools/hparams/moving_mnist/convLSTM/model_hparams_template.json
index b59f6cb2..6cda5552 100644
--- a/video_prediction_tools/hparams/moving_mnist/convLSTM/model_hparams_template.json
+++ b/video_prediction_tools/hparams/moving_mnist/convLSTM/model_hparams_template.json
@@ -4,7 +4,6 @@
     "lr": 0.001,
     "max_epochs":20,
     "context_frames":10,
-    "sequence_length":20,
     "loss_fun":"cross_entropy"
 }
 
-- 
GitLab