Compare commits

...

2 Commits

Author SHA1 Message Date
Falko Victor Habel e01834bb67 Merge pull request 'bugfix again for first init varaible' (#23) from feat/bugfix into main
Run VectorLoader Script / Explore-Gitea-Actions (push) Successful in 18s Details
Gitea Actions For AIIA / Explore-Gitea-Actions (push) Successful in 9m36s Details
Reviewed-on: #23
2025-06-30 08:43:31 +00:00
Falko Victor Habel 8c4cd6612a bugfix again for first init varaible
Gitea Actions For AIIA / Explore-Gitea-Actions (push) Successful in 9m35s Details
2025-06-30 10:24:02 +02:00
1 changed files with 3 additions and 0 deletions

View File

@ -202,6 +202,9 @@ class aiuNNTrainer:
def finetune(self, output_path, epochs=10, lr=1e-4, patience=3, min_delta=0.001):
"""Finetune the upscaler model"""
is_improved = False # first the model hasn't been improved
if self.data_loader is None:
raise ValueError("Data not loaded. Call load_data first.")
# setup logging