Compare commits

...

2 Commits

Author SHA1 Message Date
Falko Victor Habel cb64f7e871 Merge pull request 'removed unnessassary parts of config' (#20) from feat/model_fix into main
Run VectorLoader Script / Explore-Gitea-Actions (push) Successful in 9s Details
Gitea Actions For AIIA / Explore-Gitea-Actions (push) Successful in 25s Details
Reviewed-on: #20
2025-06-02 16:43:58 +00:00
Falko Victor Habel 276f02d448 removed unnessassary parts of config
Gitea Actions For AIIA / Explore-Gitea-Actions (push) Successful in 26s Details
2025-06-02 18:37:29 +02:00
1 changed files with 3 additions and 3 deletions

View File

@ -17,11 +17,11 @@ class aiuNN(PreTrainedModel):
# Enhanced approach
scale_factor = self.config.upsample_scale
out_channels = self.aiia_model.config.num_channels * (scale_factor ** 2)
out_channels = self.config.num_channels * (scale_factor ** 2)
self.pixel_shuffle_conv = nn.Conv2d(
in_channels=self.aiia_model.config.hidden_size,
in_channels=self.config.hidden_size,
out_channels=out_channels,
kernel_size=self.aiia_model.config.kernel_size,
kernel_size=self.config.kernel_size,
padding=1
)
self.pixel_shuffle = nn.PixelShuffle(scale_factor)