From b6d2cd57e42f8b05afcd5a893a8d8f02207dc428 Mon Sep 17 00:00:00 2001
From: lucas_miranda <lucasmiranda42@gmail.com>
Date: Fri, 12 Feb 2021 02:05:27 +0100
Subject: [PATCH] Added latent regularization control to
 deepof.data.coordinates.deep_unsupervised_embedding()

---
 deepof/train_utils.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/deepof/train_utils.py b/deepof/train_utils.py
index 36f2fbab..2a161cfc 100644
--- a/deepof/train_utils.py
+++ b/deepof/train_utils.py
@@ -432,7 +432,9 @@ def autoencoder_fitting(
             if save_weights:
                 ae.save_weights(
                     os.path.join(
-                        "{}".format(output_path), "{}_final_weights.h5".format(run_ID)
+                        "{}".format(output_path),
+                        "trained_weights",
+                        "{}_final_weights.h5".format(run_ID),
                     )
                 )
 
-- 
GitLab