finetune_class #1

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

View File

@ -11,6 +11,7 @@ class Upsampler(AIIA):
self.base_model = base_model
self.config = UpsamplerConfig(self.base_model.config)
# Create the upsample layer using values from the configuration.
print(self.config.upsample_scale)
self.upsample = nn.Upsample(
scale_factor=self.config.upsample_scale,
mode=self.config.upsample_mode,