updated the logging process
Gitea Actions For AIIA / Explore-Gitea-Actions (push) Successful in 42s
Details
Gitea Actions For AIIA / Explore-Gitea-Actions (push) Successful in 42s
Details
This commit is contained in:
parent
f3e59a6586
commit
3b140d559c
|
@ -203,7 +203,8 @@ class aiuNNTrainer:
|
|||
"""Finetune the upscaler model"""
|
||||
if self.data_loader is None:
|
||||
raise ValueError("Data not loaded. Call load_data first.")
|
||||
|
||||
# setup logging
|
||||
self._setup_logging(output_path=output_path)
|
||||
# Setup optimizer and directories
|
||||
self.optimizer = optim.Adam(self.model.parameters(), lr=lr)
|
||||
self.checkpoint_dir = os.path.join(output_path, "checkpoints")
|
||||
|
|
Loading…
Reference in New Issue