finetune_class #1

Merged
Fabel merged 96 commits from finetune_class into develop 2025-02-26 12:13:09 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 2883e67e1c - Show all commits

View File

@ -12,7 +12,7 @@ from torchvision import transforms
from tqdm import tqdm
from aiia import AIIABase
from upsampler import Upsampler
from aiunn.upsample import Upsampler
# Define a simple EarlyStopping class to monitor the epoch loss.
class EarlyStopping:

View File

@ -2,6 +2,7 @@ import torch
import torch.nn as nn
from aiia import AIIA, AIIAConfig, AIIABase
class Upsampler(AIIA):
def init(self, base_model: AIIA):
# base_model must be a fully instantiated model (with a .config attribute)