Rename to AAD as this is not a full AIENet

This commit is contained in:
henryruhs
2025-02-23 19:02:45 +01:00
parent bbcb1c35f0
commit 94480e16eb
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import configparser
from torch import Tensor, nn
from ..networks.aienet import AIENet
from ..networks.aad import AAD
from ..networks.unet import UNet, UNetPro
from ..types import Attributes, Embedding
@@ -22,7 +22,7 @@ class Generator(nn.Module):
self.encoder = UNet()
if encoder_type == 'unet-pro':
self.encoder = UNetPro()
self.generator = AIENet(identity_channels, output_channels, num_blocks)
self.generator = AAD(identity_channels, output_channels, num_blocks)
self.encoder.apply(init_weight)
self.generator.apply(init_weight)
@@ -4,7 +4,7 @@ from torch import Tensor, nn
from ..types import Attributes, Embedding
class AIENet(nn.Module):
class AAD(nn.Module):
def __init__(self, identity_channels : int, output_channels : int, num_blocks : int) -> None:
super().__init__()
self.pixel_shuffle_up_sample = PixelShuffleUpSample(identity_channels, output_channels)